The plus sign (+) raises its head again!

Author Message
Nic 09/04/2003 04:59 am
Hi,

I posted a message a few weeks ago to which you replied so wonderfully quickly and fixed the problem (http://www.metaproducts.com/mp/mpSupport_User_Forums_Message.asp?id=3482&topic=7&topicname=Offline Explorer Pro) - but I have now come across a really really interesting quirk.

My original problem has a link such as:
http://my.site.com/archives/VI.asp?SN=set48&FN=0697a03&Seq=02+03+04+07+09+10+12+13+15+21+22+23
And this you fixed to ensure that OEP always sends the character code %2B.

HOWEVER, I have now discovered that if an .asp page has a parameter that has a plus sign (+) that follows an equals sign (=) then IE6 always sends it as a plus sign (+) NOT the character code %2B. Example:
http://my.site.com/nav/c_main.asp?dyn=1&hdr=c_hdrdh02.htm&main=+%2E%2E%2F%2E%2E%2Ftheater%2Ftheater%2Easp%3FRC%3Dreel026%5F01

...and this example was pasted directly from IE6 - you can see that in this example the plus (+) sign that follows the equals sign (=) has not been translated to the chracter code, while the other characters have. (You might recall that when you hover the mouse over a link in IE6 the status bar shows the character (+.= etc.), but if you copy the shortcut and paste it into a browser or notepad, then some of these get translated to the character code.

From what I can see, this is an implementation of .asp and IE6 (not sure about netscape), becuase IE6 makes the translation this way. So I don`t think it is the particular site I am using.

I`m not sure how easy it is to make the "+" sign conditional in your parsing... I guess I will wait and see.

Thanks again for your previous response. Let me know if this is an easy fix or not!

Nic.
Oleg Chernavin 09/04/2003 08:33 am
I just fixed it. Here is the updated oe.exe file:

http://www.metaproducts.com/download/betas/oep1298.zip

Thank you!

Best regards,
Oleg Chernavin
MetaProducts corp.
Nic Fletcher 09/05/2003 12:13 pm
Once again, you guys are amazing!

I`ll try it out at once. Thanks.

Nic.
Nic 09/06/2003 10:51 am
Er.... problem!

I may not have been specific enough or your fix isn`t working.

ISSUE:
--------
When an .asp file has a plus sign (+) in the parameter that does NOT immediately follow an equals sign (=), then the plus sign MUST be sent as the character code (%2B). You fixed this for me a few weeks ago in release 2.9.1292 (thanks).

However, when an .asp file has an equals sign (=) followed by a plus sign (+) as part of the parameter, then the plus sign MUST be sent as the plus sign; NOT the character code (%2B). This still does not work in 2.9.1298.

EXAMPLE:
------------
The following url is copied from the source (and is also what IE6 sends):
http://my.site/com/nav/c_main.asp?dyn=1&hdr=c_hdrdh02.htm&main=+%2E%2E%2F%2E%2E%2Ftheater%2Ftheater%2Easp%3FRC%3Dreel003%5F03

The following url is copied from the log file from OEP 2.9.1298 (to which the site returns 404):
http://my.site.com/nav/c_main.asp?dyn=1&hdr=c_hdrdh02.htm&main=%2B%2E%2E%2F%2E%2E%2Ftheater%2Ftheater%2Easp%3FRC%3Dreel003%5F03

(the only difference is the plus sign (+) as opposed to character code (%2B)).

BUT PLEASE REMEMBER that when the plus sign does NOT follow an equals sign as per the reference in my first message to which you fixed in 1292.

Hopefully this makes sense now!

Nic.

Oleg Chernavin 09/08/2003 02:12 am
Oh, that`s interesting. OK. I will add the fix. Do you need the updated version now?

Oleg.
09/08/2003 06:04 am
It would be nice to have an updated version as soon as practical - but despite the fact it won`t download certain pages for me, it is probably still only a "B" category. Please let me know though when you have been able to fix it.

Nic.
Oleg Chernavin 09/08/2003 07:03 am
I already made the fix.

Oleg.
Nic 09/08/2003 08:38 am
That`s great... er where is it?

Thanks again!
Oleg Chernavin 09/09/2003 01:14 am
OK. Here is the update:

http://www.metaproducts.com/download/betas/oep1301.zip

Oleg.
Nic 09/10/2003 12:23 pm
Thank you.

Nic.
Nic 09/10/2003 12:38 pm
I`ve tested it - and it appears to work fine. Thanks again!
Oleg Chernavin 09/11/2003 01:50 am
Great!

Oleg.