Could not remove tags with special characters

Bug #1085744 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Leo Xiong

Bug Description

Version: all
Platform: all
Browsers: FF, Chromium with javascript enabled

After clicking the link 'Show my tags' in the page /artefact/file/ or /artefact/blog/post.php, we got the list of current tags. Clicking these tags will update the list of tags in the below text box.
If a tag consists of special characters such as $, ^ we can not remove these tags from the list.

Tags: javascript
Changed in mahara:
status: New → Confirmed
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.7.0 → 1.8.0
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Couldn't replicate in 1.8

tags: added: javascript
removed: javasrcipt
Changed in mahara:
status: Confirmed → Incomplete
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8.0 → 1.8.1
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8.1 → none
Leo Xiong (leoxiong)
Changed in mahara:
assignee: nobody → Leo Xiong (hello-w)
status: Incomplete → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/2918

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/2933

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2933
Committed: http://gitorious.org/mahara/mahara/commit/3ba2ae88d3d914dab951c09915865f22a3250aac
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 3ba2ae88d3d914dab951c09915865f22a3250aac
Author: Leo Xiong <email address hidden>
Date: Tue Jan 14 23:34:20 2014 +1300

Added escapeRegExp function to js/mahara.js to escape all special characters for Javascript RegExp. bug #1085744

Change-Id: Ia4e813e3cea7e31a14ec5cb8e6fe972ffeb68b50
Signed-off-by: Leo Xiong <email address hidden>

Leo Xiong (leoxiong)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.9.0
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
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.