Files
gitlabhq/spec/requests/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-18 12:43:53 -02:00
2015-10-12 11:53:49 +02:00
2015-06-22 16:00:54 -04:00
2015-12-08 13:34:09 +01:00
2015-12-07 16:57:26 -05:00
2015-12-15 00:53:52 -02:00
2015-12-15 00:53:52 -02:00
2015-07-06 16:47:19 +02:00
2015-12-11 18:02:09 +01:00