r89306 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89305‎ | r89306 | r89307 >
Date:00:01, 2 June 2011
Author:nimishg
Status:ok
Tags:
Comment:
changed default path of cookie
Modified paths:
  • /trunk/extensions/CustomUserSignup/CustomUserSignup.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CustomUserSignup/CustomUserSignup.hooks.php
@@ -123,7 +123,7 @@
124124 // *NOT HTTPONLY* In fact, that's the point of this cookie
125125
126126 setcookie( 'acctcreation' , $buckets['AccountCreation'][0] ,
127 - time() + 60 * 60 * 24 * 365 );
 127+ time() + 60 * 60 * 24 * 365 , '/' );
128128
129129 $session = $wgRequest->getCookie( 'clicktracking-session', "" );
130130 if ( $session !== null ) {

Status & tagging log