Allow uppercase letters in PHP sessionid format
Fixes shaarli/Shaarli#335 - Wrong login/password since v0.5.2
Regression introduced in 06b6660a7e
This commit is contained in:
parent
53cc2b93b8
commit
4d30975a06
2 changed files with 2 additions and 2 deletions
tests
2
tests/UtilsTest.php
Normal file → Executable file
2
tests/UtilsTest.php
Normal file → Executable file
|
@ -156,7 +156,7 @@ class UtilsTest extends PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testIsSessionIdValid()
|
||||
{
|
||||
$this->assertTrue(is_session_id_valid('123456789012345678901234567890az'));
|
||||
$this->assertTrue(is_session_id_valid('azertyuiop123456789AZERTYUIOP1aA'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue