Files
gitlabhq/lib/api
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-11 18:02:09 +01:00
2015-03-31 17:08:33 +01:00
2015-12-07 17:10:40 +01:00
2015-12-11 18:02:09 +01:00
2015-05-13 09:41:55 +02:00
2013-07-16 11:28:19 +03:00
2015-07-06 16:47:19 +02:00
2015-12-11 18:02:09 +01:00