mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43410
[Bug 1705126] Re: Tags with special characters aren't found
For testing also check:
1. When we have a tag '&onetag' and add a Tagged journal entries block to a page, the block will show no entries even if we have one, displaying the message:
There are no journal entries tagged "&onetag"
If we edit the block and save without changes, it will display the message:
There are no journal entries tagged "&&onetag"
and it will continue to add "&" at the beginning of the tag for each time we save
2. If we set a tag like "<script>alert('Hello');</script>" and we select
it in a Tagged journal entries block a javascript alert is displayed
with text "Hello" and the tag is displayed as empty in the select field
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1705126
Title:
Tags with special characters aren't found
Status in Mahara:
Confirmed
Bug description:
Im on 17.04.2.
When on "My Tags" page (/tags.php), clicking on a tag with special
characters to search for it returns nothing. This is because in the
query, the special characters are replaced. The tag block is affected
by this as well, but only on the "My Tags" page. It works well on the
other page such as Journals and Pages and Collections.
I found this by having the tag #test. When I search for it from the
"My Tags" page, the page shows "Search results for %23test"
So far, i've confirmed the problem with:
# -> %23
@ -> %40
é -> %C3%A9
è -> %C3%A8
ê -> %C3%AA
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1705126/+subscriptions
References