[Bug 782896] gitlab apache should not decode url



Alberto Fanjul changed bug 782896
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Comment # 2 on bug 782896 from Alberto Fanjul
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"
}


You are receiving this mail because:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]