koajs / discussions

KoaJS Discussions
2 stars 2 forks source link

Why the request url parameter + is turned into a space? #9

Open qingyang-id opened 4 years ago

qingyang-id commented 4 years ago

The request url parameter + is turned into a space.

for example http://localhost:8080?key=a+c the server received key is a c;

DASPRiD commented 4 years ago

Because you didn't URL-encode the plus character.