URL changes, the trailing slash is striking again
renggli at gmail.com
Thu Feb 15 16:49:33 UTC 2007
> Instead I am hacking this (ugly too but not as much) in
> WAUrl>>pathString for the trailing slash.
> (path last includes: $.) ifFalse: [stream nextPut: $/]
I guess in this case it is better to restore the old code and not
depend on hacks that might or might not work:
^ String streamContents: [ :stream |
stream nextPut: $/.
do: [ :each | stream nextPutAll: each ]
separatedBy: [ stream nextPut: $/ ] ]
We always have apache running anyway, so that it canrewrite the
tailing-slashes if necessary :-/
More information about the Squeak-dev