yanglinjingshu / qtweb

Automatically exported from code.google.com/p/qtweb
0 stars 0 forks source link

Unable to login to Reddit.com with QtWeb 2.0 build 045 #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To check it out, go to http://reddit.com and type in the following:

Username: QtWeb
Password: qtweb

The page shows all the signs of logging in ("Submitting...", "Redirecting...", 
page reloads), 
but then you are not logged in. This is typical behaviour of Reddit, usually 
you have to go to 
another page to see yourself logged in, but you are never logged in.

I've turned the cookies option to maximum (keep forever for every site) and 
I've set the 
username and passwords option on (where, incidentally, the Reddit username and 
password are never set).

beta.reddit.com does work however.

I'm running QtWeb 2.0 build 045 from a USB stick on Vista Home Premium.

Original issue reported on code.google.com by nsfwst...@gmail.com on 5 Apr 2009 at 2:34

GoogleCodeExporter commented 9 years ago
Problem found in Nokia's implementation of QNetworkCookie class.
If cookie domain starts not with '.' (dot) - it handled not properly.
Some websites like gmail, hotmail, reddit and others store just domain name 
without 
any prefix.

Implementation of QNetworkCookie fixed manually in Qt 4.5.0.

QtWeb v 2.0 build 047 contains this fix.

Original comment by alexei.c...@gmail.com on 5 Apr 2009 at 4:42