Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad HTTP request when query contains a space #2606

Closed
Oldes opened this issue Jul 15, 2024 · 0 comments
Closed

Bad HTTP request when query contains a space #2606

Oldes opened this issue Jul 15, 2024 · 0 comments
Labels

Comments

@Oldes
Copy link
Owner

Oldes commented Jul 15, 2024

It can be demonstrated like:

read append http://httpbin.org/get?q= {Test query}

with this output:

 [HTTP] Opening connection: tcp://httpbin.org:80
 [HTTP] Request: {GET /get?q=Test query HTTP/1.1^M
Host: httpbin.org^M
Accept: */*^M
Accept-charset: utf-8^M
Accept-Encoding: gzip,deflate,br^M
User-Agent: rebol/3.17.1 (Windows; x64)^M
}
 [HTTP] HTTP/1.1 400 Bad Request
 [HTTP] Headers: [
    Content-Length: "202"
    Content-Encoding: none
    Transfer-Encoding: none
    Last-Modified: none
    Date: "Mon, 15 Jul 2024 12:13:16 GMT"
    Content-Type: "text/html"
    Connection: "keep-alive"
]
@Oldes Oldes added Test.written Oldes.resolved Bugs/wishes with Oldes' fixes/features labels Jul 15, 2024
Oldes added a commit to Oldes/Rebol3 that referenced this issue Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant