From: Shawn K. <sha...@ea...> - 2004-11-07 21:19:45
|
This appears to be the same problem as the previous -- the link is technically incorrect -- as the actual filename is "/pack_checklists/pack_checklist.html" -- during the redirect it resolves the filename to the correct file -- but truncates the front of the string. Sorry about the duplicity. I realize that I can correct my links -- alas -- I believe that there are legitimate cases where the redirection is necessary/obligatory. Shawn -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of Shawn Kielty Sent: Sunday, November 07, 2004 2:13 PM To: Tclhttpd-Users@Lists. Sourceforge. Net Subject: handling of underscore in hyperlinks (?) -- A bug perhaps ( reference -- [Tclhttpd-users] Problem with relative links?) Hi -- I have a doc containing hyperlink "/pack_checklists/pack_checklist.htm" in the html: ... <td width=300* style=" margin-top:1px; color:#6d858b; font-weight:bold;font-variant:small-caps;text-align:center;color:white;"><fo nt size=2><a style=color:#6d858b;text-decoration:none; onmouseover="Over(this)" onmouseout="Out(this)" href="/pack_checklists/pack_checklist.htm">Trip Checklist</a></font></td> ... which -- when the link is chosen -- the server tries to deliver the page <docroot>/_checklists/pack_checklist.html. This seems that it may be a bug in the handling of the uri string in the server. It appears that the string is being truncated. Server is tclhttpd 3.5.1 -- tclsh is threaded -- % package require html 1.2.2 % info patchlevel 8.4.7 % package require uri 1.1.3 Has anyone else seen this behavior or can verify that it exists in the current cvs head or in the same version I am running? It might be useful if someone could independently verify that one of these problems exists (see RE: [Tclhttpd-users] Problem with relative links?) -- so that I could be sure that I have a reasonable test scenario. That way I wouldn't be wasting anyone's time by pointing these out. To see it for yourself: http://www.shawnkielty.com/about/ and select the "Trip Checklist" link. I'll leave it broken for a few days -- since I don't get much traffic anyway. Just as a side note -- I'd be willing to write some tests for these cases. Shawn Kielty http://www.shawnkielty.com (480)636-1524 (510) 828-9411 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users |