Closed
Bug 1504857
Opened 7 years ago
Closed 7 years ago
URLs not ending in a slash result in an ISE
Categories
(Conduit :: Lando, enhancement, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcote, Assigned: imadueme)
Details
(Keywords: conduit-triaged)
Attachments
(1 file)
Something to do with recent changes to lando-ui, probably dependencies, has resulted in 500 errors when loading a URL without a trailing slash, e.g. https://lando.devsvcdev.mozaws.net/revisions/D156/1014. It used to redirect with a 301 (see current production).
This is a big problem because the "View in Lando" link doesn't end in a slash. While we are going to remove that link in favour of the "View stack in Lando" link, we should still fix this, partly because it will cause problems until the next Phab deploy, and partly because, well, this should work.
| Reporter | ||
Updated•7 years ago
|
Keywords: conduit-triaged
| Assignee | ||
Comment 1•7 years ago
|
||
werkzeug uses exceptions to signal a 301 redirect. before this commit
we were catching that as an unexpected exception and showing what looks
like a 500. now we allow the flask app to handle that exception and redirect
appropriately.
WIP: TODO: add unit test
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → imadueme
| Assignee | ||
Comment 2•7 years ago
|
||
Exposed by upgrading werkzeug from 0.12 to 0.14 (I think)
Updated•7 years ago
|
Attachment #9022782 -
Attachment description: [WIP] errorhandlers: pass through 301 redirect exceptions → errorhandlers: pass through 301 redirect exceptions
| Assignee | ||
Comment 3•7 years ago
|
||
deploying soon
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•