https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12617 --- Comment #15 from Emmi Takkinen <emmi.takkinen@outlook.com> --- (In reply to Fridolin SOMERS from comment #14)
Hi, nice work.
Just a question : I see in first patch : $password =~ /[a-zA-ZöäåÖÄÅ]/ I don't see the caracters öäå in patch on password_check.inc.
Should we use POSIX =character class like [:alnum:] ? https://www.regular-expressions.info/posixbrackets.html
With Perl we could yes. However Javascript doesn't seem to support POSIX. [a-zäöå] and [A-ZÄÖÅ] seem to work. I guess we could also use POSIX in first patch and Unicode on password_check.inc e.g \u00DF-\u00FF and allow characters like éëêẽ etc. -- You are receiving this mail because: You are watching all bug changes.