aboutsummaryrefslogtreecommitdiff
path: root/test/test_men.t
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-09-29 13:30:29 +1300
committerDavid Phillips <david@sighup.nz>2019-09-29 13:30:29 +1300
commit892c385e04880f723567b3611eb945093f1eed8b (patch)
treececc0887f316a208b3cd39169e3066e054d5b107 /test/test_men.t
parent675510557f7499251ac8db3f19b1ca9a692c3f08 (diff)
downloadidalius-master.tar.xz
URL_Title: clear globals before parsingHEADmaster
This patch prevents accidental leakage of content-type header and charset between calls to get_title. Without clearing these, it is possible for a URL title to be decoded from the wrong charset if a URL was previously titled with a differing charset to the current one. This patch clears these stale values to guarantee accurate charset decoding per URL.
Diffstat (limited to 'test/test_men.t')
0 files changed, 0 insertions, 0 deletions