[Varnish] #1697: Discard a configuration with bad character is impossible

Varnish varnish-bugs at varnish-cache.org
Mon Apr 13 09:39:57 CEST 2015


#1697: Discard a configuration with bad character is impossible
------------------------+----------------------------------
 Reporter:  vrobert     |       Owner:
     Type:  defect      |      Status:  closed
 Priority:  low         |   Milestone:  Varnish 4.0 release
Component:  varnishadm  |     Version:  4.0.3
 Severity:  normal      |  Resolution:  worksforme
 Keywords:  discard     |
------------------------+----------------------------------

Comment (by vrobert):

 Hi Poul !

 a big thanks for your response, I've put back my putty in ISO-8859-1
 translation, then indeed the "A tilde" appears :

 {{{
 [root at serv1]varnishadm -T localhost:6082 -S /etc/varnish/secret vcl.list
 available       0 20150311_ofaDrupalÃ2
 available       0 20150327Ã_maville360_3
 active        130 20150410_ofa
 }}}

 Then i changed the locale on the centos:
 {{{
 [root at serv1]export LC_ALL=en_US.iso8859-1
 [root at serv1]locale
 LANG=en_US.UTF-8
 LC_CTYPE="en_US.iso8859-1"
 LC_NUMERIC="en_US.iso8859-1"
 LC_TIME="en_US.iso8859-1"
 LC_COLLATE="en_US.iso8859-1"
 LC_MONETARY="en_US.iso8859-1"
 LC_MESSAGES="en_US.iso8859-1"
 LC_PAPER="en_US.iso8859-1"
 LC_NAME="en_US.iso8859-1"
 LC_ADDRESS="en_US.iso8859-1"
 LC_TELEPHONE="en_US.iso8859-1"
 LC_MEASUREMENT="en_US.iso8859-1"
 LC_IDENTIFICATION="en_US.iso8859-1"
 LC_ALL=en_US.iso8859-1
 }}}

 Then the discard command did the job:
 {{{
 [root at serv1]varnishadm -T localhost:6082 -S /etc/varnish/secret
 vcl.discard 20150311_ofaDrupalÃ2
 }}}

 The ticket can be closed.

 Best regards,

 Vincent

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1697#comment:5>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list