Varnish 4.1 - "Hash" in varnishlog is.. masked

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Feb 21 10:49:44 CET 2017


--------
In message <68074.1487670547 at critter.freebsd.dk>, "Poul-Henning Kamp" writes:
>--------
>In message <18142121-7E0C-435A-B4BD-100AA83FE93F at lola.tech>, Vlad Rusu writes:
>
>>Are those %00 expected at the end of the Hash?
>>
>>-   Hash           =
>>"/sites/all/themes/allegiant3/g4www-style/dist/styles/style.min.1.css%00"
>>-   Hash           "444%00"
>>-   Hash           =E2=80=9Cwww=E2=80=A6..com%00"
>
>Yes, they are necessary delimiters to avoid fields flowing into each
>other.
>
>Otherwise hashing ("a" and "bc") would be the same as ("ab" and "c")

However, it can be argued that they don't need to be in varnishlog,

Martin ?

-- 
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