retitle 283342 squidguard: problem with localization reassign 283342 squidguard thanks
> tag 283342 moreinfo unreproducible > retitle 283342 squid: problem with localization > reassign 283342 squid > thanks > > Raphael HALIMI <r...@captainblood.org> writes: > > > There is a slight problem with SquidGuard's handling of localization. This > > issuedoesn't appear in Squid itself. > > > > If the languages selected in the webe browser are, for example : > > > > [fr_FR] > > [fr] > > [en] > > > > SquidGuard checks only the first locale asked, can't find any template for > > [fr_FR], and sends the [en] template. Problem is, SquidGuard does have a > > [fr] > > translation, and it's in the browser languages list, so I think SquidGuard > > should either check other asked languages, or simply replace them by a > > template > > it does have (cutting the locale before the underscore : [fr_FR] --> [fr]). > > As Stefan Fritsch already noted, squidGuard doesn't see any language > information; this must have been a problem with squid. Can you still > reproduce it? I've found this really old bug in squid list and took some time to analyze it deeply. Squid's redirector interface is really simple: it passes an url to the redirector and gets back and answer that can be OK if the url is allowed to be opened or another URL where the request should be redirected. There is no content involved in this process and language information passed to/from the redirector. squidGuard answer with an URL as configured in it's configuration file. This URL usually refers to some local hosted information page on why the request has been reject. This page is served by a web server and squid is not handling it specially. The issue reported is definitely in the browser <-> web-server communication and not in the squid <-> squidguard channel. Regards, L -- Luigi Gangitano -- <lu...@debian.org> -- <gangit...@lugroma3.org> GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org