Failed to parse a valid url
Closed this issue · 1 comments
MatrixDev commented
Basically I'm trying to write a stored-requests server for PBS using Actix but Uri failes to parse its request. I've checked in Chrome devtools and Wireshark, they parse it without any problems.
Uri in question is:
http://127.0.0.1/?request-ids=["0689a263-318d-448b-a3d4-b02e8a709d9d"]&imp-ids=["prebid-demo-banner-320-50"]
Running following code panics with static str is not valid URI: invalid uri character
:
let uri = Uri::from_static(r#"http://127.0.0.1/?request-ids=["0689a263-318d-448b-a3d4-b02e8a709d9d"]&imp-ids=["prebid-demo-banner-320-50"]"#);
MatrixDev commented
This is not supported by RFC 3986