Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Server Re-writes Link

Problem with server converting ; to %3b

4:50 pm on Feb 6, 2010 (gmt 0)

New User

5+ Year Member

joined:Aug 22, 2008
posts: 5
votes: 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]

8:51 pm on Feb 7, 2010 (gmt 0)

Senior Member

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

joined:Mar 31, 2002
votes: 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.

9:37 pm on Feb 7, 2010 (gmt 0)

New User

5+ Year Member

joined:Aug 22, 2008
posts: 5
votes: 0

Thanks, Jim!

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members