Bug 1019860
Summary: | Trailing slashes (eq. /jobs/mine/ instead of /jobs/mine) in URLs break hypertext links created under that page. | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jarod Wilson <jarod> |
Component: | web UI | Assignee: | beaker-dev-list |
Status: | CLOSED DEFERRED | QA Contact: | tools-bugs <tools-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 0.14 | CC: | qwan, tklohna, tools-bugs |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-12 13:50:28 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: |
Comment 2
Raymond Mancy
2013-10-17 00:56:11 UTC
The relative job URLs on the My Jobs page (<site>/jobs/mine/) are not generated correctly when the trailing slash is included in the page URL: they look like "<site>/jobs/mine/<job number>" rather than the desired "<site>/jobs/<job number>". The problem actually appears to affect all relative URLs on the page, including the search link (which also adds an extra "/mine/" segment). These broken URLs then trigger a 500 error when attempting to load them (likely due to the page attempting to interpret the mangled additions as search criteria). Since Flask is the default WSGI handler now, we should be able to deal more systematically with trailing slashes (likely by automatically removing them, as that will avoid breaking currently working bookmarks) (Where by "now" I mean, in Beaker 0.15+) The upgrade to Flask actually fixed this. Sorry, misread the bug. Fixing the title :) Fixing this requires porting those pages away from TurboGears to use a Backgrid, which is finally *possible* as of Beaker 19, but it won't make it into this release. We'll get there eventually... Fixing this would require an ugly TG workaround. Quick check found that there are much more pages affected by this (eq. /jobs/mygroups/), so I'm changing the title. We will fix this in the Flask migration. Because of that, I'm closing this ticket and assigning it under correct Epic in Jira, so we can verify it once the migration is complete. |