[Bb-trac] [bbPress] #941: Cookie integration: extra slashes in bb
bbPress
bb-trac at lists.bbpress.org
Fri Aug 22 22:45:32 GMT 2008
#941: Cookie integration: extra slashes in bb
-------------------------+--------------------------------------------------
Reporter: fel64 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: integration | Version: 1.0-beta (trunk)
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Running Trunk and 2.6.1; the problem is new since upgrading from 0.9. User
tables integrated, auth keys of all kinds are identical. Trying to set it
up such that logging into WP logs you into bb and vice versa.
* Logging into WP does not log me into bb, but it does log me out of bb.
* Logging into bb does not log me into WP, but it does log me out of WP.
Each has been repeatable. The only kind of cookies I've seen are
wordpress_#some_hash# and wordpress_logged_in_#that_same_hash#.
I believe that this may be due to an unknown problem with my setup.
bbPress is setup in a subdomain, forums.loinhead.net, while WP is set up
on www.loinhead.net. bbPress automatically sets cookies for .loinhead.net.
I have changed Wordpress' behaviour to do that by defining COOKIE_DOMAIN
in its wp-config.
I have found one difference between the cookies set by wordpress and
bbpress that is probably a mistake:
The WP-set cookie called wordpress_#some_long_hash# is set twice, once for
/wordpress`/wp-admin`, and once for `/wordpress/wp-content/plugins`.
The bb-set cookie called wordpress_#the_same_long_hash# is set five times,
once for `/wordpress/wp-admin/`, and once for `/wordpress/wp-
content/plugins/`, and three times for bb-specific folders.
I'm suspicious of the extra trailing slash.
--
Ticket URL: <http://trac.bbpress.org/ticket/941>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list