leading zero issues in query strings

For technical support for all editions of CSE HTML Validator. Includes bug reports.

leading zero issues in query strings

Postby Dandello2000 » Mon Feb 08, 2010 4:41 pm

Okay, so this is a weird one - I have a site - http://bigapricot.org/ that has Perl generated pages based on query strings. Some of these strings have leading zeros - '?01' rather than '?1'. For whatever reason, CSE is deleting the leading zero, turning '?01' into '?1'. Now, none of my other link checkers seem to have this issue and changing the '01' into a '1' calls up the wrong file (in Perl a '01' is not necessarily a '1').

Now, I have written a fix for this within the Perl script most badly affected, but it's a little annoying that I had to. Is there a setting in CSE (the newest one) that I should know about?
Dandello2000
Rank I - Novice
Rank I - Novice
 
Posts: 12
Joined: Wed Nov 04, 2009 7:59 pm

Re: leading zero issues in query strings

Postby Albert Wiersch » Mon Feb 08, 2010 5:59 pm

I'm sorry for the trouble. Where is CSE HTML Validator deleting the leading 0's? Can you provide some steps to reproduce this problem or let me know in detail what you are doing in CSE HTML Validator? Thank you.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: leading zero issues in query strings

Postby Dandello2000 » Mon Feb 08, 2010 8:34 pm

When I use the batch validator on the 127.0.0.1 (localhost using Apache 1.3.31) mirror of my site, a number of pages (such as http://127.0.0.1/bigapricot/cgi-bin/series.pl?03) are appear as http://127.0.0.1/bigapricot/cgi-bin/series.pl?3. Now, nowhere that I can find is there an actual link to http://127.0.0.1/bigapricot/cgi-bin/series.pl?3 - none of my link checkers can find one and sometimes CSE batch validator finds it and sometimes it doesn't. But it ALSO finds http://127.0.0.1/bigapricot/cgi-bin/series.pl?03 (the one that's actually there).

AND, to add insult to injury, this issue doesn't appear in the remotely hosted site. (I don't have mod_rewrite turned on on the home server so that's not it.)

It's just a little strange. It's probably something peculiar to my system. But it is annoying.
Dandello2000
Rank I - Novice
Rank I - Novice
 
Posts: 12
Joined: Wed Nov 04, 2009 7:59 pm

Re: leading zero issues in query strings

Postby Dandello2000 » Mon Feb 08, 2010 9:44 pm

Okay - It IS my system - for some reason, even though the file is in a directory that's not supposed to be read, there was an old index_file.txt with bad links in it that the batch validator went though anyway. So if anybody out there is having weird problems with CSE finding things that shouldn't be there and you're running Zoltan Milosevic's Fluid Dynamics Search Engine - chances are really good that's where the strange links are hiding out.
Dandello2000
Rank I - Novice
Rank I - Novice
 
Posts: 12
Joined: Wed Nov 04, 2009 7:59 pm

Re: leading zero issues in query strings

Postby Albert Wiersch » Mon Feb 08, 2010 9:54 pm

OK, I'm glad you figured it out. If you think there is a problem with CSE HTML Validator reading/scanning files that it shouldn't, then I'd be happy to investigate that but I would need detailed troubleshooting information... a way to reproduce the problem is usually best.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest