branch.composePublicURL 500s if scheme is unknown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
File "/home/
return {'urls': [lp_branch.
File "/usr/lib/
response, content = self.root.
File "/usr/lib/
raise error
lazr.restfulcli
Response headers:
---
connection: close
content-length: 14
content-type: text/plain;
date: Wed, 11 Jan 2023 18:25:46 GMT
server: gunicorn/19.8.1
status: 500
x-lazr-oopsid: OOPS-1e2edc7b84b1d29d16080ef63591190a
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-request-id: a8f424d0-
x-vcs-revision: 0dc4a5528db5ce4
---
Response body:
---
b'AssertionError'
tags: | added: api lp-code |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
Do you have a fix in mind? Obviously, you want to have support for https.
Should there be a client side error (4xx) when an unknown scheme is requested?