GNOME Bugzilla – Bug 782896
gitlab apache should not decode url
Last modified: 2017-05-25 13:55:45 UTC
Recommendation from gitlab: https://github.com/gitlabhq/gitlab-recipes/blob/master/web-server/apache/gitlab-apache22.conf#L20 there's an api call that needs to resolve api/v4/projects/user<html tag for slash>project and seems gitlab.gnome.org is decoding that and looking for api/v4/projects/user∕project
Done.
Seems it is not working yet. Test: $ curl -s https://gitlab.gnome.org/api/v4/projects | jq '.[] | select(.path_with_namespace == "albfan/gnome-todo")' { "id": 9, "http_url_to_repo": "http://gitlab.gnome.org/albfan/gnome-todo.git", "web_url": "http://gitlab.gnome.org/albfan/gnome-todo", "name": "gnome-todo", "name_with_namespace": "Alberto / gnome-todo", "path": "gnome-todo", "path_with_namespace": "albfan/gnome-todo" } $ curl -s https://gitlab.gnome.org/api/v4/projects/9 | jq { "id": 9, "http_url_to_repo": "http://gitlab.gnome.org/albfan/gnome-todo.git", "web_url": "http://gitlab.gnome.org/albfan/gnome-todo", "name": "gnome-todo", "name_with_namespace": "Alberto / gnome-todo", "path": "gnome-todo", "path_with_namespace": "albfan/gnome-todo" } $ curl -s https://gitlab.gnome.org/api/v4/projects/albfan%2Fgnome-todo | jq { "message": "404 Project Not Found" }
Should be really fixed now. Please confirm and close accordingly.
Fixed and tested