Closed (fixed)
Project:
IP Login
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2014 at 14:24 UTC
Updated:
19 Mar 2014 at 09:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
t-lo$url = url($url, array('query' => array('ip_login_no_cache=' . md5(time())), 'absolute' => TRUE));Should be:
$url = url($url, array('query' => array('ip_login_no_cache' => md5(time())), 'absolute' => TRUE));Comment #2
t-loLatest dev version is different but still incorrect:
$url = url($url, array('query' => 'ip_login_no_cache='.md5(time()), 'absolute' => TRUE));Should be:
$url = url($url, array('query' => array('ip_login_no_cache' => md5(time())), 'absolute' => TRUE));Comment #3
t-loComment #5
t-loComment #7
t-lowas checking out the master branch, hopefully this one will pass :)
Comment #8
markpavlitski commentedThe patch definitely fixes the redirect loop issue, however there can still be cache collisions if there are multiple requests arriving within 1 second.
I'd suggest using something which is session specific, like
drupal_get_token()instead ofmd5(time()).Comment #9
davidwhthomas commentedAdjusted patch committed, thanks!