mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #11745
[Bug 1150115] Re: Search crashes with the national letter
I think the problem is with unicode symbols in regex. Regex in param_alphanum function (lib/web.php) update will resolve problem:
preg_match('/^\pL]+$/u',$value) instead of preg_match('/^[a-zA-Z0-9]+$/',$value).
Also, maybe needs to review all regex in source there national symbols
can appears.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1150115
Title:
Search crashes with the national letter
Status in Mahara ePortfolio:
New
Bug description:
Search for users by clicking on the initials of their first and last
names not working with national letter. For example with Lithuanian
language pack.
Message of error:
"Mahara: Invalid Parameter
A required parameter is missing or malformed
The 'f' parameter is not alphabetical only "
Version of Mahara: 1.6.2, 1.6.3
OS: Linux
Database: Postgres 9.1.8
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1150115/+subscriptions
References