[9.0] Make Gallery compatible with shorter URLs Fixes #515
[9.0] Make Gallery compatible with shorter URLs
Fixes #515

imjalpreet/gallery,IATkachenko/gallery,owncloud/gallery,tahaalibra/gallery,owncloud/galleryplus,interfasys/galleryplus,viraj96/gallery,viraj96/gallery,desaintmartin/gallery,desaintmartin/gallery,tahaalibra/gallery,owncloud/gallery,owncloud/galleryplus,viraj96/gallery,interfasys/galleryplus,tahaalibra/gallery,owncloud/gallery,desaintmartin/gallery,IATkachenko/gallery,IATkachenko/gallery,owncloud/galleryplus,interfasys/galleryplus,imjalpreet/gallery,imjalpreet/gallery