Description of problem: If a Route object specifies a path ending in a /, subpaths are not routed correctly Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a route with a path of / routing to a pod 2. Access the route's hostname at the following URLs: https://<host> https://<host>/ https://<host>/test Actual results: The root paths work. The /test subpath fails to route Expected results: All three paths route correctly. Additional info:
Fixed upstream in master in https://github.com/openshift/origin/pull/13867 Fixed upstream in 1.5 in https://github.com/openshift/origin/pull/13923 Fixed in 3.5 in https://github.com/openshift/ose/pull/726 Testcase: Create three routes using the same host, routing to different pods (so you can identify which route served which request) Route 1: path of / Route 2: path of /subpath Route 3: path of /subpath/ Ensure the following urls are served by the expected routes: route 1: https://<host> https://<host>/ https://<host>/test route 2: https://<host>/subpath route 3: https://<host>/subpath/ https://<host>/subpath/subsubpath
What if an user wants to allow to access the http(s)://<host>/ only but none of the subpath?
That is not an option today
seems this is a duplicate with 1448218 verified using same steps https://bugzilla.redhat.com/show_bug.cgi?id=1448218#c3
agreed. Marking as a dup of 1448218 *** This bug has been marked as a duplicate of bug 1448218 ***
*** Bug 1464318 has been marked as a duplicate of this bug. ***