OpenEMM Support Forum Index OpenEMM Support
Use this forum to get and provide free help regarding OpenEMM
 
 TOP   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ampersand in links NOT being replaced !

 
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases
View previous topic :: View next topic  
Author Message
wimg



Joined: 09 Jun 2009
Posts: 2

PostPosted: Mon Nov 16, 2009 3:35 pm    Post subject: Ampersand in links NOT being replaced ! Reply with quote

I discovered an annoying bug in OpenEMM.

When using an HTML newsletter, we use the following link :
Code:
<a href="http://www.b-rail.be/php/bexcursions/index.php?lang=N&amp;task=view&amp;sectionid=4&amp;bexcode=501">Dagtrip</a>


This link is XHTML valid, using &amp; instead of & - when loaded in a browser, the browser will replace the &amp; by & automatically, so when you click the link it will go to http://www.b-rail.be/php/bexcursions/index.php?lang=N&task=view&sectionid=4&bexcode=501

However, when inserting it in OpenEMM, OpenEMM will attempt to create a trackable link. This means that it will create a special URL which replaces the original URL. So far, no problem. Except that, when this URL is clicked, OpenEMM will redirect you to the original URL (http://www.b-rail.be/php/bexcursions/index.php?lang=N&amp;task=view&amp;sectionid=4&amp;bexcode=501) through a "Location" header, causing the URL to be loaded in the browser to include the &amp; which is not valid.

OpenEMM should replace &amp; by & in all trackable links.
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group