Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
layer8
on May 21, 2023
|
parent
|
context
|
favorite
| on:
Show HN: A simple echo server for testing HTTP cli...
Braces and square brackets (as well as double quotes) are not allowed unencoded in query strings, see the definition of
pchar
in
https://datatracker.ietf.org/doc/html/rfc3986#section-3.4
.
__s__
on May 21, 2023
[–]
That's true. Although it will make the URL longer, I have decided to use encodeURIComponent to escape characters and avoid potential bugs.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: