Bug 1448218
Summary: | Match subpaths correctly when path contains trailing slash | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Eric Jones <erjones> | |
Component: | Networking | Assignee: | Ben Bennett <bbennett> | |
Networking sub component: | router | QA Contact: | zhaozhanqi <zzhao> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | high | CC: | aos-bugs, jliggitt | |
Version: | 3.5.0 | |||
Target Milestone: | --- | |||
Target Release: | 3.5.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: Matching logic changed, and trailing slashed inadvertently broke.
Consequence: Subpaths with trailing /s no longer work.
Fix: Corrected the code that matches them.
Result: The previous behavior was restored.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1448944 (view as bug list) | Environment: | ||
Last Closed: | 2017-05-18 09:29:12 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1446627, 1448944 |
Description
Eric Jones
2017-05-04 20:33:58 UTC
QE did testing this on openshift v3.5.5.13, this issue has been fixed. please help move this bug to 'ON_QA', I will verified this bug. verified this bug on openshift v3.5.5.13 steps: 1. Create app(pod/service) 2. Create route with path (/) 3. access the route 4. Access the route with subpath # oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD service-unsecure service-unsecure-z1.0509-2cc.qe.rhcloud.com / service-unsecure http None [root@dhcp-136-93 ~]# curl service-unsecure-z1.0509-2cc.qe.rhcloud.com Hello-OpenShift-1 http-8080 # curl service-unsecure-z1.0509-2cc.qe.rhcloud.com/test/ Hello-OpenShift-Path-Test http-8080 # curl service-unsecure-z1.0509-2cc.qe.rhcloud.com/path/second/ second-test http-8080 *** Bug 1446360 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1235 |