PC Review


Reply
Thread Tools Rate Thread

Adding post-data to URL - Techquestion..

 
 
oystlars@gmail.com
Guest
Posts: n/a
 
      23rd Dec 2005
Hello, I have problems adding post-data to the URL typed (or saved as a
bookmark) in MSIE.

This URL typed or opened from bookmarks in firefox works ok, but not in
MSIE:

https://login.gulesider.no/gsi/login...&pw=mypassword

It's the redirect "value" that becomes wrong.

username and password are submitted, and then you are redirected to:
https://login.gulesider.no/gsi/sms.do?spraak=

-----------------------------------------------------------------------

As I say, it works fine in firefox, but not in MSIE. I have also tried
adding "" to the redirect, but no..

Best regards,
Øystein Bakke Larsen

 
Reply With Quote
 
 
 
 
Andy Fish
Guest
Posts: n/a
 
      23rd Dec 2005
this URL is passing the username and password to the original URL
(loginProcess.do), whereas I suspect you want to pass them to the redirected
url (sms.do)

if this is the case, you will need to url encode the portion

https://login.gulesider.no/gsi/sms.d...&pw=mypassword

so that it becomes

https%3A%2F%2Flogin.gulesider.no%2Fgsi%2Fsms.do%3Fspraak%3D%26userId%3Dmyname%40server.com%26pw%3Dmypassword


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Hello, I have problems adding post-data to the URL typed (or saved as a
bookmark) in MSIE.

This URL typed or opened from bookmarks in firefox works ok, but not in
MSIE:

https://login.gulesider.no/gsi/login...&pw=mypassword

It's the redirect "value" that becomes wrong.

username and password are submitted, and then you are redirected to:
https://login.gulesider.no/gsi/sms.do?spraak=

-----------------------------------------------------------------------

As I say, it works fine in firefox, but not in MSIE. I have also tried
adding "" to the redirect, but no..

Best regards,
Øystein Bakke Larsen


 
Reply With Quote
 
Don Varnau
Guest
Posts: n/a
 
      23rd Dec 2005
Hi,
A Cumulative Security Update for Internet Explorer (832894- February 2004)
removed that functionality.
http://www.microsoft.com/technet/sec.../MS04-004.mspx

See: http://support.microsoft.com/?kbid=834489 for additional information
and possible workarounds.

Hope this helps,
Don
[MS MVP- IE]


<oystlars[at]gmail.com> wrote in message
news:(E-Mail Removed)...
Hello, I have problems adding post-data to the URL typed (or saved as a
bookmark) in MSIE.

This URL typed or opened from bookmarks in firefox works ok, but not in
MSIE:

https://login.gulesider.no/gsi/login...&pw=mypassword

It's the redirect "value" that becomes wrong.

username and password are submitted, and then you are redirected to:
https://login.gulesider.no/gsi/sms.do?spraak=

-----------------------------------------------------------------------

As I say, it works fine in firefox, but not in MSIE. I have also tried
adding "" to the redirect, but no..

Best regards,
Øystein Bakke Larsen

 
Reply With Quote
 
oystlars@gmail.com
Guest
Posts: n/a
 
      23rd Dec 2005
Well, the script logs into the page successfully, but I am not
redirected to the new site.

And no, it cannot pass the username and password to sms.gsi, it's all
to be passed to loginprocess.do.

Logging in works ok, but I am not redirected.

Any sollution?

 
Reply With Quote
 
Vanguard
Guest
Posts: n/a
 
      23rd Dec 2005
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Hello, I have problems adding post-data to the URL typed (or saved as a
bookmark) in MSIE.

This URL typed or opened from bookmarks in firefox works ok, but not in
MSIE:

https://login.gulesider.no/gsi/login...&pw=mypassword

It's the redirect "value" that becomes wrong.

username and password are submitted, and then you are redirected to:
https://login.gulesider.no/gsi/sms.do?spraak=

-----------------------------------------------------------------------

As I say, it works fine in firefox, but not in MSIE. I have also tried
adding "" to the redirect, but no..

Best regards,
Øystein Bakke Larsen


--- REPLY SEPARATOR ---
(only needed due to OP using quoted-printable which is NOT recommended for
Usenet posts)

Read RFC 1738 "Uniform Resource Locators", section 3.3 "HTTP", that defines
the URL syntax for the HTTP protocol. You are allowed ONE "?" delimiter
separator to denote the parameters portion (after the path portion). You
have TWO parameter delimiter characters in your URL so parsing is unknown
and undefined. There is no syntax defined for having recursive
<searchpart>'s within the URL for HTTP (i.e., you cannot have a <searchpart>
inside another <searchpart> because the "?" delimiter is a reserved
character that the first <searchpart> uses for parsing).

ftp://ftp.rfc-editor.org/in-notes/rfc1738.txt

RFC 3986 updates RFC 1738 but it also denotes the use of only a single "?"
delimiter character to differentiate between the path and query portions of
the URL; see section 3 "Syntax Components".

ftp://ftp.rfc-editor.org/in-notes/rfc3986.txt

You are using illegal URL syntax. If Firefox support it then they do so at
their own discretion and are not RFC compliant. As Andy suggests, the
redirect is a parameter so maybe escaped-encoding the "?" character (as %3F)
in the value for this parameter would eliminate the parsing problem. You
can test to see if percent-encoding works.

--
__________________________________________________
Post replies to the newsgroup - Share with others.
E-mail: Remove "NIX" and append "#VC811" to Subject.
__________________________________________________

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Revisit an older post, looking for SQL help on adding range data frommany sheets to a single sheet Rick Microsoft Excel Worksheet Functions 4 31st May 2009 09:02 PM
adding post/zip codes mk2 jack Microsoft Access 5 18th Oct 2005 04:45 AM
Adding From Line for Post =?Utf-8?B?VHkgU3dhcnR6?= Microsoft Outlook Discussion 0 10th Mar 2005 05:41 PM
Post data via the Post method in asp.net? (URGENT) Vishal Microsoft ASP .NET 1 21st Dec 2004 06:14 AM
Adding data to the data table without adding a data marker to the chart BA Microsoft Excel Charting 2 19th Nov 2003 09:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:10 AM.