Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234528 - net-proxy/squid-2.7.3 non-iso characters in config files
Summary: net-proxy/squid-2.7.3 non-iso characters in config files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: h
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 07:44 UTC by Arthur Hagen
Modified: 2008-08-15 06:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Hagen 2008-08-12 07:44:18 UTC
/etc/squid/squid.conf and squid.conf.default in net-proxy/squid-2.7.3 uses a non-standard character set, which is neither iso-8859-1 nor utf-8.

Two places, there is a character 0x79 0x92 0x98 (\342\210\222 in octal).  This would have been a German minus sign in UTF-8, but the marker is missing (cut/paste error?)

If opening one of the files in nvi, this causes the file to be truncated at the first occurence.  If trying to convert it with iconv, it fails too:

% iconv -f UTF-8 -t ISO-8859-1 ._squid.conf

#       WELCOME TO SQUID 2.7.STABLE3
#       ----------------------------
[...]
#       tag is a number between 0 and concurrencyiconv: illegal input sequence at position 111325



Reproducible: Always

Steps to Reproduce:
Comment 1 Arthur Hagen 2008-08-12 07:46:08 UTC
The error is on lines 3103 and 3135 in the included squid.conf / squid.conf.default
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-08-15 06:17:37 UTC
Fixed in version 2.7.4-r1.