python paste dumping raw input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paste |
New
|
Undecided
|
Unassigned | ||
python-eventlet (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
juju-7de47d-
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET <script>
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 596
Date: Tue, 19 Sep 2017 20:17:09 GMT
Connection: close
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
path_info = self.normalize_
File "/usr/lib/
"URL fragments must start with / or http:// (you gave %r)" % url)
AssertionError: URL fragments must start with / or http:// (you gave '<script>
Connection closed by foreign host.
➜ juju-7de47d-
juju-7de47d-
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET <script>
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 602
Date: Tue, 19 Sep 2017 20:33:26 GMT
Connection: close
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
path_info = self.normalize_
File "/usr/lib/
"URL fragments must start with / or http:// (you gave %r)" % url)
AssertionError: URL fragments must start with / or http:// (you gave '<script>
Connection closed by foreign host.
➜ juju-7de47d-
Here is a completely untested fix.