I have encrypted user ID and password included into the browser's request
line. Since I need to parse this line in the PB Server application I'm
padding UID and password with spaces to 8 characters(all the other
parameters of the request line have known length).
That works fine in IE, but doesn't work in the Navigator.
It seems that IE displays '%20' instead of 2 spaces, while Navigator
displays 2 spaces in the request line and rejects submitted line as
invalid.
Any ideas will be greately appreciated.
Leo Trosman
Try using %20 instead of spaces.
Internet Explorer translates the spaces to %20 before parsing whereas
Netscape doesn't always, so the spaces are interpreted as invalid.
Note: This isn't always the case with Netscape. It's very version
dependant. The following examples work or don't using Netscape 3.04 and
probably 4.72
If you want another example of this try an hyperlink like for example:
This one works under IE, but not Netscape <a
href="http://www.travelwise.co.nz/scans/id%200482%20A.jpg">http://www.travelwise.co.nz/scans/id
0482 A.jpg</a>
This one works for both <a
href="http://www.travelwise.co.nz/scans/id%200482%20A.jpg">http://www.travelwise.co.nz/scans/id%200482%20A.jpg</a>
This problem also exists for any src= statements and form actions, etc
under Netscape.
Have fun.
Julz
For urls/form actions and the like posts use a "+" instead of the space
otherwise it's %20
Sorry for that little slip up, although I think that %20 works also.