James Peach created MESOS-4034: ---------------------------------- Summary: URLs with doubled slashes return 404 Key: MESOS-4034 URL: https://issues.apache.org/jira/browse/MESOS-4034 Project: Mesos Issue Type: Bug Affects Versions: 0.25.0 Reporter: James Peach Priority: Minor
The Mesos 0.25 HTTP request router no longer coalesces doubled slashes in the URL path. Previous versions did so this; we noticed when we upgraded a cluster and our metrics poller started getting 404s. {code} $ curl -v http://localhost:5050//metrics/snapshot * About to connect() to localhost port 5050 (#0) * Trying 17.138.64.22... connected * Connected to localhost (127.0.0.1) port 5050 (#0) > GET //metrics/snapshot HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 > zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: localhost:5050 > Accept: */* > < HTTP/1.1 404 Not Found < Date: Wed, 02 Dec 2015 00:50:57 GMT < Content-Length: 0 < * Connection #0 to host localhost left intact * Closing connection #0 {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)