Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
LinkFreeze support forum
 Helicon Tech : LinkFreeze support forum
Subject Topic: %2F Behaving Like Slash Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
moishier
Groupie
Groupie


Joined: 24 October 2004
Location: United States
Online Status: Offline
Posts: 76
Posted: 21 June 2007 at 4:37pm | IP Logged Quote moishier

I have the latest version of Linkfreeze. I have URL's coming in to linkfreeze like this:

www.site.com/page.asp?tdate=1/1/2007

My schema is to use slashes, so I have an ISAPI rule to convert / to %2f.

So my final URL looks like this:

www.site.com/page.htm/date/1%2F1%2F2007

The issues is that the tdate variable is not working. Looking at the IIS logs I see that it is issuing a 301 redirect for that URL to this:

www.site.com/page.htm/date/1&1=2007

Obviously, it is translating %2F back to / and then converting / to ?,& and =.

Please advise.

Thanks!
Back to Top View moishier's Profile Search for other posts by moishier Visit moishier's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 22 June 2007 at 6:03am | IP Logged Quote Yaroslav

This is by design. You cannot have substitution characters in parameters and values. You may try to change date format separator.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
moishier
Groupie
Groupie


Joined: 24 October 2004
Location: United States
Online Status: Offline
Posts: 76
Posted: 22 June 2007 at 7:23am | IP Logged Quote moishier

The question was about the charachter entity in the URL, %2F. Is this also not allowed? I remember this working in a older version.
Back to Top View moishier's Profile Search for other posts by moishier Visit moishier's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 22 June 2007 at 8:38am | IP Logged Quote Yaroslav

This behavior was changed because some new browsers, including latest versions of IE, started to encode various characters in links and URLs without asking any permission and thus making entire site with LinkFreeze misbehave. So now (and according to the HTTP standard) LinkFreeze treats www.site.com/page.htm/date/1%2F1%2F2007 and www.site.com/page.htm/date/1/1/2007 as two identical URLs.
To resolve your problem you need to use some another date format separator. For example use dot.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

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