Skip to content
Snippets Groups Projects
Commit 93a6ed3d authored by Miquel Rodríguez Telep / Michael Rodríguez-Torrent's avatar Miquel Rodríguez Telep / Michael Rodríguez-Torrent
Browse files

Ensure instanceid contains a letter

instanceid is generated by uniqid() and then used as the
session_name. Because session_name requires at least one letter
and uniqid() does not guarantee to provide that, in the case that
uniqid() generates a string of only digits, the user will be stuck
in an infinite login loop because every request will generate a
new PHP session.
parent 53fd122b
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment