[arachne] Re: Why can't Arachne find this web site?

Arachne at FreeLists---The Arachne Fan Club!

Am I wrong that the fix put in was that the site fixed the URL it redirected you to, not that that ff changed the URL because of the illegal leading space?

Not that that would change the way Arachne should work.

Glenn McCorkle wrote:
Arachne at FreeLists---The Arachne Fan Club!

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


Arachne at FreeLists -- Arachne, The Premier GPL Web Browser/Suite for DOS --

Other related posts: