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

Varnish varnish-bugs at varnish-cache.org
Thu Apr 9 09:36:42 CEST 2015


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

Comment (by vrobert):

 Hi,

 the weird char is a capital A with tilde (Ã):

 {{{
 varnishadm -T localhost:6082 -S /etc/varnish/secret vcl.list | hexdump -C
 00000000  61 76 61 69 6c 61 62 6c  65 20 20 20 20 20 20 20  |available
 |
 00000010  30 20 32 30 31 35 30 33  31 31 5f 6f 66 61 44 72  |0
 20150311_ofaDr|
 00000020  75 70 61 6c c3 32 0a 61  76 61 69 6c 61 62 6c 65
 |upal.2.available|
 00000030  20 20 20 20 20 20 20 30  20 32 30 31 35 30 33 32  |       0
 2015032|
 00000040  37 c3 5f 6d 61 76 69 6c  6c 65 33 36 30 5f 33 0a
 |7._maville360_3.|
 00000050  61 63 74 69 76 65 20 20  20 20 20 20 20 20 31 30  |active
 10|
 00000060  32 20 32 30 31 35 30 34  30 31 5f 6f 66 61 44 65  |2
 20150401_ofaDe|
 00000070  76 69 63 65 0a 0a                                 |vice..|
 00000076

 varnishadm -T localhost:6082 -S /etc/varnish/secret vcl.list | hexdump -c
 0000000   a   v   a   i   l   a   b   l   e
 0000010   0       2   0   1   5   0   3   1   1   _   o   f   a   D   r
 0000020   u   p   a   l 303   2  \n   a   v   a   i   l   a   b   l   e
 0000030                               0       2   0   1   5   0   3   2
 0000040   7 303   _   m   a   v   i   l   l   e   3   6   0   _   3  \n
 0000050   a   c   t   i   v   e                                       9
 0000060   2       2   0   1   5   0   4   0   1   _   o   f   a   D   e
 0000070   v   i   c   e  \n  \n
 0000076
 }}}

 We tested to discard the confguration but it doesn't work:

 {{{
 varnishadm -T localhost:6082 -S /etc/varnish/secret vcl.discard
 20150311_ofaDrupalÃ2
 No configuration named 20150311_ofaDrupalÃ2 known.
 Command failed with error code 106

 varnishadm -T localhost:6082 -S /etc/varnish/secret vcl.discard
 20150327Ã_maville360_3
 No configuration named 20150327Ã_maville360_3 known.
 Command failed with error code 106
 }}}

 Do you have an idea to do the discard ?

 Best regards,

 Vincent

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



More information about the varnish-bugs mailing list