Closed (fixed)
Project:
Services Basic Authentication
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2015 at 08:54 UTC
Updated:
14 Jun 2016 at 15:30 UTC
Jump to comment: Most recent
Comments
Comment #2
znerol commentedI was about to submit the exact same patch.
Also note that this will fix the weird behavior that new sessions are created on every request for some sites. In fact, this is only the case if the
$_SESSIONsuperglobal contains data at the end of a request. The faulty code generates PHP warnings, and those will be stored as messages in the session (unless suppressed by the site admin).The take home notice here is: If you see sessions started on api requests, then your code is likely buggy. Check your logs.
Comment #3
nlisgo commentedThis patch no longer applies to 7.x-1.3
Comment #4
znerol commentedThis patch is against
7.x-1.x(i.e. the dev branch) and it certainly applies there. Regrettably that version is not selectable from the version dropdown in this issue tracker.Comment #5
nlisgo commentedApologies. I didn't see a dev branch posted. That make sense then.
Comment #6
markpavlitski commentedThanks for the patch! This has been committed :)
Comment #7
markpavlitski commentedComment #10
markpavlitski commented