NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||23-03-17 06:14 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017328||phplist application||Interface - Administrator||public||26-08-14 10:55||08-10-14 13:29|
|Target Version||3.0.9||Fixed in Version||3.0.9|
|Summary||0017328: List category that includes single-quote does not work|
|Description||Reported in the user forums http://forums.phplist.com/viewtopic.php?f=35&t=41541 [^]|
If a list category is added that contains a single-quote character then on the "Subscriber Lists" page that category cannot be selected from the accordion control.
The cause is that input fields have a backslash added automatically, and that messes-up the processing. Need to use stripslashes() on input fields and also sql_escape on queries where the category is used.
|Steps To Reproduce||Add a list category such as "cat's" and assign that category to a list. Then go to the Subscriber Lists page and try to select that value from the control.|
|Tags||No tags attached.|
I wonder if this applies to more characters, but for now I have disallowed single quotes in categories.
Btw "cat's" is not grammatical.
|Copyright © 2000 - 2017 MantisBT Team|