Files
gitlabhq/lib
Stan Hu 086cfc8685 Fix API project lookups when querying with a namespace with dots
Attempting to use the /projects/:id API by specifying :id in
"namespace/project" format would always result in a 404 if the namespace
contained a dot.

The reason? From http://guides.rubyonrails.org/routing.html#specifying-constraints:

"By default the :id parameter doesn't accept dots - this is because the dot is
used as a separator for formatted routes. If you need to use a dot within an
:id add a constraint which overrides this - for example id: /[^\/]+/ allows
anything except a slash."

Closes https://github.com/gitlabhq/gitlabhq/issues/9573
2016-01-03 15:08:44 -08:00
..
2015-12-15 00:53:52 -02:00
2015-10-03 01:29:58 -05:00
2015-11-10 12:51:50 +01:00
2014-08-14 15:48:14 +04:00
2015-11-10 12:51:50 +01:00
2015-05-11 18:21:45 +03:00