Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#545: synthetic screws national characters

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at projects

Aug 27, 2009, 1:32 AM

Post #1 of 6 (310 views)
Permalink
#545: synthetic screws national characters

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
part of vlc:
{{{
set obj.http.Content-Type = "text/html; charset=utf-8";
synthetic {"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta name="robots" content="nofollow,noindex">
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<div id="main">
D?kujeme za pochopen?, T?m
</p>
</div>
</body>
</html>

"};

}}}

returned from browser:
{{{
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta name="robots" content="nofollow,noindex">
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<div id="main">
D?77777704?77777633kujeme za
pochopen?77777703?77777655,
T?77777703?77777675m
</p>
</div>

</body>
</html>
}}}

--
Ticket URL: <http://varnish.projects.linpro.no/ticket/545>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


varnish-bugs at varnish-cache

Jun 24, 2010, 4:10 PM

Post #2 of 6 (299 views)
Permalink
Re: #545: synthetic screws national characters [In reply to]

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------

Comment(by josh_k):

Looks like the issue is improper UTF-8 encoding. It's not just entities,
but alt charsets are also mangled in the same way. E.g.

<h1>サイトは一時的に使用できません</h1>

becomes

<h1>�77777743�77777602�77777665....</h1>

--
Ticket URL: <http://www.varnish-cache.org/ticket/545#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
http://lists.varnish-cache.org/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Jun 24, 2010, 4:19 PM

Post #3 of 6 (304 views)
Permalink
Re: #545: synthetic screws national characters [In reply to]

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------

Comment(by josh_k):

FWIW the workaround is to encode everything. This PHP function worked for
my crazy multilingual "down" page:

http://www.php.net/manual/en/function.htmlentities.php#96648

--
Ticket URL: <http://www.varnish-cache.org/ticket/545#comment:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
http://lists.varnish-cache.org/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Aug 11, 2010, 2:08 AM

Post #4 of 6 (300 views)
Permalink
Re: #545: synthetic screws national characters [In reply to]

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Resolution: invalid
Keywords: |
----------------------+-----------------------------------------------------
Changes (by kristian):

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


Comment:

I'm moving this to the FAQ and shopping list, as it's turned into a
feature request and we keep those on the shopping list.

It's definitely something we are interested in fixing though. I heard some
mumbling about looking into it in conjunction to the synthetic stuff being
re-worked.

--
Ticket URL: <http://varnish-cache.org/ticket/545#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
http://lists.varnish-cache.org/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Dec 11, 2011, 6:23 PM

Post #5 of 6 (124 views)
Permalink
Re: #545: synthetic screws national characters [In reply to]

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by anarcat):

* status: closed => reopened
* resolution: invalid =>


Comment:

I can't find this in the FAQ, and I can't find the shopping list. The bug
is still there and I do not agree this is a feature request. Unicode
support seems pretty basic to me and the string should at least be passed
as is, and not mangled.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Jan 9, 2012, 7:22 AM

Post #6 of 6 (104 views)
Permalink
Re: #545: synthetic screws national characters [In reply to]

#545: synthetic screws national characters
----------------------+-----------------------------------------------------
Reporter: kolo | Owner: phk
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* status: reopened => closed
* resolution: => fixed


Comment:

(In [6bec2c8361f4bb87e84e7760d0970f3d96e9d07f]) Fix a buglet in handling
non-ascii strings in VCL, now that we (I)
have decided what the strategy is going to be for synthetic in
the future.

Fixes #545

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.