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

Varnish varnish-bugs at varnish-cache.org
Mon Apr 13 08:32:26 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     |
------------------------+----------------------------------
Changes (by phk):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Vincent,

 0xC3 is only A+tilde in charactersets of the ISO8859 family, in UTF-8 it
 is 0x83 + 0xc3, and the "checkerboard" pattern indicates that your
 terminal is running UTF-8.

 That means that when you type in compose+A+tilde it does not match what
 varnish has stored.

 What you can try is something like:

   env LC_ALL=en_US.iso8859-1 xterm

 (or some other terminal program)

 If you run varnishadm in that xterm, the 0xc3 should be correctly shown as
 A+tilde, and if you type compose+A+tilde you should get 0xc3.

 That should allow you to vcl.discard the VCL programs.

 You should probably spend some time finding out how that strange character
 ended up there in the first place, and the explanation is very likely
 something along the same lines.

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



More information about the varnish-bugs mailing list