Arachne at FreeLists---The Arachne Fan Club! Well, what do know..... They already _have_ implemented it. ;-) Just now visited http://www.fnfsr.org/ using FireFox v2.0.0.2 and was redirected to the correct URL of http://domain.com/site/Welcome.html without the leading space in front of 'site/' On Thu, 19 Apr 2007 21:48:05 -0500, Glenn McCorkle wrote: > Yes... it actually _did_ need to be fixed. > A 'leading space' is an illegal nameing convention for both filenames > and directory names. > Therefore, any URL with leading space(s) is obviously a typo due to > the fact that no such filename nor directory name can possibly exist. > So... we need to 'skip over' any leading spaces which might have been > erroniously typed into a URL. > Spaces within filenames and direcytory names _are_ legal and will not be > skipped over by my code. > It is only the 'leading spaces' that will be skipped over. > As to FireFox.... > Perhaps the FireFox developers should also implement this little fix. > On Thu, 19 Apr 2007 19:56:49 -0400, Jason & Ornumar Dodd wrote: >> There wasn't anything to fix was there? >> The page doesn't exist. >> Get the same error in firefox. >> Glenn McCorkle wrote: >> Arachne at FreeLists---The Arachne Fan Club! >> Fixed it. :) >> As you can see from this code snippet, it was easy as adding yet >> another small fix similar to the one I made last September..... >> --- in urlstat.c of the SRC code for Arachne's main program core.exe --- >> // ======================================================================== >> //!!glennmcc: Sep 28, 2006 -- //skip '\"' >> if(!strncmp(strptr,"\\\"",2)) >> strptr+=2; >> //!!glennmcc: end >> //!!glennmcc: Apr 19, 2007 -- //skip leading space(s) >> //needed to fix problems such as this.... >> //<meta http-equiv="refresh" content="0;url= site/Welcome.html" /> >> //__________________________________________^<-- erroneous space >> //the resulting URL is ... http://domain.com/%20/site/Welcome.html >> //instead of the coorect URL of... http://domain.com/site/Welcome.html >> while(!strncmp(strptr," ",1)) >> (strptr++); >> //!!glennmcc: end >> ___________________________________________________________________________ >> On Mon, 16 Apr 2007 21:08:33 -0500, Glenn McCorkle wrote: >> The redirect to http://www.fnfsr.org/site/Welcome.html does not work >> correctly due to a malformed URL at http://www.fnfsr.org/ >> <meta http-equiv="refresh" content="0;url= site/Welcome.html" /> >> __________________________________________^<-- erroneous space -- Glenn http://www.delorie.com/listserv/mime/ http://www.cisnet.com/glennmcc/ http://www.law.cornell.edu/constitution/constitution.table.html Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --