Archive of UserLand's first discussion group, started October 5, 1998.
DG, calendar.draw and string.urlEncode
Author: Andrew Duncan Posted: 6/15/1999; 5:27:11 PM Topic: DG, calendar.draw and string.urlEncode Msg #: 7410 Prev/Next: 7409 / 7411
I've been preparing for the arrival of a new server box, setting up a discussion group for a new site. I have a page here:< http://myserver.com/discussionGroup/$1999/06/12>
I noticed that imageRefs in the site template broke in the browser, because the URLs resolved to some thing like:
<http://myserver.com/discussionGroup/$1999/images/blank>
In the HTML source, it's a relative URL:
<../images/blank>
Not what I expected! I've checked this in Netscape 4.6 Mac, MSIE 4.5 Mac and the latest version of iCab (gotta love that syntax checking) -- they all have the same problem.
Has anyone else struck this?
It appears that the calendar date needs to be string.urlEncoded and decoded. I've found the two places where the change needs to be made (discussionGroup.index and calendar.draw), and I've tested it and it seems to work fine.
Is it a bug? Any comments?
Andrew Duncan
This page was archived on 6/13/2001; 4:50:49 PM.
© Copyright 1998-2001 UserLand Software, Inc.