Home
last modified time | relevance | path

Searched hist:f95ecbbf8b1de8bc1270d3cf91dfdf055ea5c78c (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/lib/plugins/authplain/_test/
H A Descaping.test.phpf95ecbbf8b1de8bc1270d3cf91dfdf055ea5c78c Mon Jun 30 22:35:07 UTC 2014 Angus Gratton <gus@projectgus.com> authplain: Escape ':' in any data field as '\:'

':' is the field delimiter in the authplain flat text
conf/users.auth.php file, but it's also used as an internal delimiter
for the 'mediawiki' password hash format. Currently using this hash
format corrupts the file

This change escapes ':' as '\:' in any field in the users.auth.php
file, and any '\' as '\\'.

Also adds test cases for escaping modes.

/dokuwiki/lib/plugins/authplain/
H A Dauth.phpf95ecbbf8b1de8bc1270d3cf91dfdf055ea5c78c Mon Jun 30 22:35:07 UTC 2014 Angus Gratton <gus@projectgus.com> authplain: Escape ':' in any data field as '\:'

':' is the field delimiter in the authplain flat text
conf/users.auth.php file, but it's also used as an internal delimiter
for the 'mediawiki' password hash format. Currently using this hash
format corrupts the file

This change escapes ':' as '\:' in any field in the users.auth.php
file, and any '\' as '\\'.

Also adds test cases for escaping modes.