Search crashes with the national letter

Bug #1150115 reported by Mindaugas Žakauskas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Expired
Undecided
Unassigned

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

Revision history for this message
Mindaugas Žakauskas (mindeez) wrote :

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.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hello Mindaugas,

Is this still a problem for you? If so, please let us know which version of Mahara.

Thank you
Kristina

Changed in mahara:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.