You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adam Powell <ap...@theonion.com> on 2002/04/10 21:55:11 UTC
Em Dash/Apache/Netscape 4x bug
Hello! I'm new to the list. I've searched the archives, but couldn't find
an answer, so bear with me if this is obvious.
When I use SSI, Netscape 4x browsers on both platforms gets weird
rendering specific ISO characters.
Before I began using SSI as the fundamental construction of the site,
— worked well on all browsers to render an "em dash" (you know, the
funky long dash).
But now that I've set everything up as includes, — performs spottily.
By far the best performance all around comes from using the *named* ISO
equivalent, — This works in almost every browser, except for, you
guessed it, early netscapes.
Netscape 4x browsers on both platforms simply print out the string —
rather than the corresponding character, which looks sorta like --.
This looks dumb, and the Onion has many many of these.
Is there an Apache workaround? Because this is resulting from SSI bugging
on includes with the # sign or the & in them (variously), I think. Anyone?
Relevant url:
http://www.theonionavclub.com/avclub3813/justify3813.html
Thanks!
Adam Powell
Web Programmer, The Onion
America's Finest News Source
apowell@theonion.com | voice: 608.256.1372 | fax: 608.256.2535
www.theonion.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Em Dash/Apache/Netscape 4x bug
Posted by RuneImp <ru...@imptech.net>.
That's not a bug. — is not part of any standard.
I think it may be IE specific but I'm not sure.
-=- RuneImp
ImpTech - Web Design, Hosting & Computer Tech
http://imptech.net
rune@imptech.net
----- Original Message -----
From: "Adam Powell" <ap...@theonion.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, April 10, 2002 2:13 PM
Subject: Re: Em Dash/Apache/Netscape 4x bug
Okay, I've isolated the problem further. There is a NN 4.x bug reading
— but more importantly:
when
set var="title value =
is followed by a # sign, or maybe a & sign, or maybe both, I get text
instead of HTML in the resulting page as rendered by certain browsers. Does
this sound familiar?
(There's no SSL on the page; I realize that set of interactions has
additional complications).
thanks!
on 4/10/02 3:17 PM, Joshua Slive at joshua@slive.ca wrote:
>
> On Wed, 10 Apr 2002, Adam Powell wrote:
>> When I use SSI, Netscape 4x browsers on both platforms gets weird
>> rendering specific ISO characters.
>
> I'm not sure what this could have to do with SSI, unless a different
> content-type/content-encoding is being sent. Can you look at the page
> source AND the HTTP headers with and without SSI and figure out what the
> difference is?
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
Adam Powell
Web Programmer, The Onion
America's Finest News Source
apowell@theonion.com | voice: 608.256.1372 | fax: 608.256.2535
www.theonion.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Em Dash/Apache/Netscape 4x bug
Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 10 Apr 2002, Adam Powell wrote:
>
> Okay, I've isolated the problem further. There is a NN 4.x bug reading
> — but more importantly:
>
> when
> set var="title value =
>
> is followed by a # sign, or maybe a & sign, or maybe both, I get text
> instead of HTML in the resulting page as rendered by certain browsers. Does
> this sound familiar?
Sorry, I should have guessed this right away. The problem isn't in "set",
it is in "echo". Please see the mod_include docs with special attention
to the "encoding" attribute to "echo". This was added a couple years ago
to reduce the chance of Cross-Site-Scripting in SSI pages. You need to
turn off the encoding using echo.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Em Dash/Apache/Netscape 4x bug
Posted by Adam Powell <ap...@theonion.com>.
Okay, I've isolated the problem further. There is a NN 4.x bug reading
— but more importantly:
when
set var="title value =
is followed by a # sign, or maybe a & sign, or maybe both, I get text
instead of HTML in the resulting page as rendered by certain browsers. Does
this sound familiar?
(There's no SSL on the page; I realize that set of interactions has
additional complications).
thanks!
on 4/10/02 3:17 PM, Joshua Slive at joshua@slive.ca wrote:
>
> On Wed, 10 Apr 2002, Adam Powell wrote:
>> When I use SSI, Netscape 4x browsers on both platforms gets weird
>> rendering specific ISO characters.
>
> I'm not sure what this could have to do with SSI, unless a different
> content-type/content-encoding is being sent. Can you look at the page
> source AND the HTTP headers with and without SSI and figure out what the
> difference is?
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
Adam Powell
Web Programmer, The Onion
America's Finest News Source
apowell@theonion.com | voice: 608.256.1372 | fax: 608.256.2535
www.theonion.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Em Dash/Apache/Netscape 4x bug
Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 10 Apr 2002, Adam Powell wrote:
> When I use SSI, Netscape 4x browsers on both platforms gets weird
> rendering specific ISO characters.
I'm not sure what this could have to do with SSI, unless a different
content-type/content-encoding is being sent. Can you look at the page
source AND the HTTP headers with and without SSI and figure out what the
difference is?
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org