curl-users
RE: Problem logging in to website
Date: Mon, 3 May 2004 16:20:51 -0400
Right. ">" is an HTML-encoded ">" (gt = greater than). The browser is
smart enough to translate ">" to ">", whose ASCII code is 62 (or 0x3E
in Hex).
If you change to "...&submit1=login%20%20%3E" I think you'll get a bit
closer. It appears (based on the response headers that Daniel refers to)
that the server does differentiate between the two.
- Kevin
-----Original Message-----
From: Daniel Stenberg
Sent: Monday, May 03, 2004 2:24 PM
On Mon, 3 May 2004, Gary wrote:
> so I started my script like this
> curl -d
"username=my_at_emailaddress&password=mypassword&submit1=login%20%20>"
www.footiemanager.com/validate.asp \
> --cookie-jar site.cookies \
> -o site.html
>
That ">" might be differently sent by a browser, but I'm not 100%
sure.
Received on 2004-05-03