truncated VRT_r_req_url

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jan 3 08:57:58 CET 2011


In message <AANLkTi=vdmgRESg7vWEsg4gEfRDGb8J9VJF2M7mj4XWk at mail.gmail.com>, dwi 
kristianto writes:

>inputed request : http://adomain/q?word1 word2

The HTTP client has to encode the space as %20 before sending it,
the URL field cannot contain white-space in the HTTP protocol.

See RFC2616 section 5.1

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




More information about the varnish-misc mailing list