<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007>Hi
ppl,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007> trying to make work the resources
configurations in Seaside 2.8 with Jetsam and found that if one also "hacks"
WADispatcher not to use '/seaside/' but an empty string instead, then some
strange things happen to the requests of the resources.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007> Digging a little I reached
#encodePathOn: in WAUrl and saw that allways inserts a slash. You can judge this
as beign too much hacker, I don't know, but I was unable to found a better
solution than changing the Lukas version:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007>encodePathOn: aDocument<BR> path ifNil: [ ^ self
].<BR> aDocument nextPut: $/.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007> path
<BR> do: [ :each | aDocument urlEncoder nextPutAll: each
]<BR> separatedBy: [ aDocument nextPut: $/ ]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007>to this
one:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007>encodePathOn: aDocument<BR> path ifNil: [ ^ self
].<BR> path first ifNotEmpty: [aDocument nextPut: $/].<BR> path
<BR> do: [ :each | aDocument urlEncoder nextPutAll: each
]<BR> separatedBy: [ aDocument nextPut: $/ ]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007> Seems inocent but I really can't
tell if it is going to harm any app out there so please tell me if it will be
asimilated in seaside or I should use this in a private
package.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=250522218-23082007> thanks,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian
Sastre<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><o:p> </o:p></SPAN></P></DIV></SPAN>
<DIV> </DIV></BODY></HTML>