[Zope] Plone and Zope: space character in URI..... Solution...
danielle.d-avout
danielle.d-avout@wanadoo.fr
Mon, 16 Dec 2002 19:12:03 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0053_01C2A537.04B1A310
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Solved thanks to geoff@geoffdavis.net and george@zettai.net!!
under some circumstances not yet clear, Iexplore 6.0 and Windows XP =
6.02
the blank between " and http in <a href=3D" http://votredomaine.net =
produced in the rendering of the index_html of the root of a plone site =
can make it inacccessible...=20
This blank make the URI malformed as they are not properly escaped, =
(they must not contain unescaped characters below U+0021 including the =
space character and not above U+007E.)
The offending blank is after "string:" in the fields of the Actions =
tabs of portal_actions, _syndication, _properties , or _undo ... ; just =
remove them using Mozilla if you have the same problem than me with =
Iexplore.=20
(the correctiosn made It can be necessary to reboot in order that =
Iexplore can work properly)
----- Original Message -----=20
From: danielle.d-avout=20
To: Zope=20
Sent: Monday, December 16, 2002 2:08 PM
Subject: [Zope] Plone and Zope: space character in URI.....
With a brand new plone I asked, as I'm not logged
http://danielle.zettai.net/New_plone/index_html/manage_edit
I keep waiting ... the window of Iexplore 6.0 doesn't respond anymore
I notice that the title of the requested page is=20
=
http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp:3A//dani=
elle.zettai.net/New_plone/index_html/manage_edit&retry=3D
if I asked in an another window=20
=
http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp://daniel=
le.zettai.net/New_plone/index_html/manage_edit&retry=3D
it does work.... as it should be.. I'm asked to sign in ...
meanwhile I have no such problems with Mozilla
I looked at the source and I can see "irregularities"
<a href=3D" http://... with a space between " and http
OK I am anyway ready to give up Plone... I encountered too many =
problems already
But just to be reassured... I looked at the rendered html given by a =
new Zope CMF portal (noname)
and I can see as well, only in a smaller number (1 for the =
index_html), the same fault.....
first it doesn't seem to have any consequences..
the link <a href=3D" =
http://danielle.zettai.net/noname/join_form">Join</a> is working...
but if I try to import the URL http://danielle.zettai.net/noname/ in =
HTml toolkit, it is turn not to answered...
at the contrary=20
http://danielle.zettai.net/noname/index_html will work and would also =
also http://danielle.zettai.net/New_plone/
here the comment of Tidy for Zope CMF portal index_html
"URIs must be properly escaped, they must not contain unescaped =
characters below U+0021 including the space character and not above =
U+007E.=20
Tidy escapes the URI for you as recommended by HTML 4.01 section B.2.1 =
and XML 1.0 section 4.2.2.
Some user agents use another algorithm to escape such URIs and some =
server-sided scripts depend on that. If you want to depend on that, you =
must escape the URI by your own. For more information please refer to =
http://www.w3.org/International/O-URL-and-ident.html"
------=_NextPart_000_0053_01C2A537.04B1A310
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV>Solved thanks to <A=20
href=3D"mailto:geoff@geoffdavis.netgeorge">geoff@geoffdavis.net</A> =
and <A=20
href=3D"mailto:george@zettai.net">george@zettai.net</A>!!</DIV>
<DIV>under some circumstances not yet clear, Iexplore 6.0 and =
Windows XP=20
6.02</DIV>
<DIV>the blank between " and http in <a href=3D" <A=20
href=3D"http://votredomaine.net">http://votredomaine.net</A> =
produced in the=20
rendering of the index_html of the root of a plone site can =
make it=20
inacccessible... </DIV>
<DIV>This blank make the URI malformed <FONT face=3DArial =
size=3D2>as they=20
are not properly escaped, (they must not contain unescaped =
characters=20
below U+0021 including the space character and not above =
U+007E.)</FONT></DIV>
<DIV>The offending blank is after "string:" in the fields of the =
Actions=20
tabs of portal_actions, _syndication, _properties , or _undo ... ; =
just=20
remove them using Mozilla if you have the same problem than me with =
Iexplore.=20
</DIV>
<DIV>(the correctiosn made It can be necessary to reboot in order that =
Iexplore=20
can work properly)</DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Ddanielle.d-avout@wanadoo.fr=20
href=3D"mailto:danielle.d-avout@wanadoo.fr">danielle.d-avout</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dzope@zope.org=20
href=3D"mailto:zope@zope.org">Zope</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, December 16, 2002 =
2:08=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] Plone and Zope: =
space=20
character in URI.....</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>With a brand new plone </FONT><FONT =
face=3DArial=20
size=3D2>I asked, as I'm not logged</FONT></DIV>
<DIV><A=20
=
href=3D"http://danielle.zettai.net/New_plone/index_html/manage_edit"><FON=
T=20
face=3DArial=20
=
size=3D2>http://danielle.zettai.net/New_plone/index_html/manage_edit</FON=
T></A></DIV>
<DIV><FONT face=3DArial size=3D2>I keep waiting ... the window of =
Iexplore 6.0=20
doesn't respond anymore</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I notice that the title of the=20
requested page is </FONT></DIV>
<DIV><A=20
=
href=3D"http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp:=
3A//danielle.zettai.net/New_plone/index_html/manage_edit&retry"><FONT=
=20
face=3DArial=20
=
size=3D2>http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp=
:3A//danielle.zettai.net/New_plone/index_html/manage_edit&retry</FONT=
></A><FONT=20
face=3DArial size=3D2>=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>if I asked in an another window =
</FONT></DIV>
<DIV><A=20
=
href=3D"http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp:=
//danielle.zettai.net/New_plone/index_html/manage_edit&retry"><FONT=20
face=3DArial=20
=
size=3D2>http://danielle.zettai.net/New_plone/login_form?came_from=3Dhttp=
://danielle.zettai.net/New_plone/index_html/manage_edit&retry</FONT><=
/A><FONT=20
face=3DArial size=3D2>=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>it does work.... as it should be.. =
I'm asked to=20
sign in ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>meanwhile I have no such problems =
with=20
Mozilla</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I looked at the source and I can see=20
"irregularities"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <a href=3D" http://... with =
a space=20
between " and http</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>OK I am anyway ready to give up =
Plone... I=20
encountered too many problems already</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But just to be reassured... I looked =
at the=20
rendered html given by a new Zope CMF portal =
(noname)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and I can see as well, only in a =
smaller number=20
(1 for the index_html), the same fault.....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>first it doesn't seem to have any=20
consequences..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the link =
<a href=3D"=20
</FONT><A =
href=3D'http://danielle.zettai.net/noname/join_form">Join</a'><FONT=20
face=3DArial=20
=
size=3D2>http://danielle.zettai.net/noname/join_form">Join</a</FONT=
></A><FONT=20
face=3DArial size=3D2>> is working...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but if I try to import the URL =
</FONT><A=20
href=3D"http://danielle.zettai.net/noname/"><FONT face=3DArial=20
size=3D2>http://danielle.zettai.net/noname/</FONT></A><FONT =
face=3DArial=20
size=3D2> in HTml toolkit, it is turn not to =
answered...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at the contrary </FONT></DIV>
<DIV><A href=3D"http://danielle.zettai.net/noname/index_html"><FONT =
face=3DArial=20
size=3D2>http://danielle.zettai.net/noname/index_html</FONT></A><FONT =
face=3DArial=20
size=3D2> will work and would also also </FONT><A=20
href=3D"http://danielle.zettai.net/New_plone/"><FONT face=3DArial=20
size=3D2>http://danielle.zettai.net/New_plone/</FONT></A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>here the comment of Tidy for =
Zope CMF=20
portal index_html</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"URIs must be properly escaped, they =
must not=20
contain unescaped characters below U+0021 including the space =
character and=20
not above U+007E. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Tidy escapes the URI for you as =
recommended by=20
HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Some user agents use another =
algorithm to escape=20
such URIs and some server-sided scripts depend on that. If you want to =
depend=20
on that, you must escape the URI by your own. For more information =
please=20
refer to </FONT><A=20
href=3D"http://www.w3.org/International/O-URL-and-ident.html"><FONT =
face=3DArial=20
=
size=3D2>http://www.w3.org/International/O-URL-and-ident.html</FONT></A><=
FONT=20
face=3DArial size=3D2>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><A=20
=
href=3D"http://danielle.zettai.net/noname"></A> </DIV></BLOCKQUOTE><=
/BODY></HTML>
------=_NextPart_000_0053_01C2A537.04B1A310--