Ticket #215 (reopened defect)

Opened 3 months ago

Last modified 2 months ago

r93: cookies not functional

Reported by: anonymous Assigned to: royger
Priority: minor Component: wTorrent
Version: Keywords:
Cc:

Description

Cookies are not passed to Add torrent requests with new cookie code.

Attachments

Change History

14/10/08 05:55:05 changed by anonymous

And fixed. Here's the patch:

--- AddT.cls.php.rev93  2008-10-13 06:53:45.000000000 +1100
+++ AddT.cls.php        2008-10-14 16:42:13.000000000 +1100
@@ -144,9 +144,9 @@
                // Getting cookie depends on hostname
                $purl = parse_url( $url );
                return implode(
-                       '; ',
+                       ';',
                        $this->_db->queryColumnAll(
-                               'SELECT id, value, hostname FROM cookie WHERE userid = ? AND hostname LIKE ?',
+                               'SELECT value FROM cookie WHERE userid = ? AND hostname LIKE ?',
                                $this->getIdUser(),
                                "%{$purl['host']}%"
                        )

16/10/08 20:16:02 changed by royger

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r94, thanks.

22/10/08 23:49:16 changed by BrandonG777

  • status changed from closed to reopened.
  • resolution deleted.

Still not working for me in r94 or r95. Particularly with demonoid.com

23/10/08 22:28:57 changed by BrandonG777

Strange... magically started working today. With same version I was running before.

24/10/08 12:58:01 changed by royger

  • status changed from reopened to closed.
  • resolution set to fixed.

28/10/08 16:13:34 changed by BrandonG777

  • status changed from closed to reopened.
  • resolution deleted.

Ok, they are definitely not working. It worked with one because it was a newer torrent and didn't require a log on to download. But anything that requires my cookies does not work. Specifically with demonoid.com


Add/Change #215 (r93: cookies not functional)