homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Server Re-writes Link
Problem with server converting ; to %3b

5+ Year Member

Msg#: 4075462 posted 4:50 pm on Feb 6, 2010 (gmt 0)

We've been using the cgi/perl banner rotator program webadverts for years. It rotates the banners and creates a clickable link like the first link below. Now when you click it has started converting the ; in the link to the html equivalent %3b which breaks the link. You can see it at <snip>. It's the 468x60 link in the top center of the page.

What's causing this? I haven't modified the program in years.


[edited by: jdMorgan at 8:44 pm (utc) on Feb 7, 2010]
[edit reason] No URLs, please. Use example.com only. See TOS and Charter [/edit]



WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4075462 posted 8:51 pm on Feb 7, 2010 (gmt 0)

Something changed somewhere, as the query string is now being URL-encoded, whereas before it was not. Perhaps your host upgraded the server, or PERL, or changed some of the default settings?

This points out a good reason to stick with standards and use ampersands instead of 'special' query parameter delimiters like semicolons.

It's interesting that this causes a failure, as most script writers would opt to run the input through a URL-decode function (often a built-in language function) before examining it.

You could use mod_rewrite to fix these requested URLs if they're being requested from your own server, but it might be more appropriate to find out what changed (and why), in case that change might also have some other less-obvious but equally-serious negative effects on your site. Other than that, there would just be the overhead of running the extra code for all "ads.pl" requests.



5+ Year Member

Msg#: 4075462 posted 9:37 pm on Feb 7, 2010 (gmt 0)

Thanks, Jim!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved