google-code-export / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

Sanitize Description Field #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter characters such as backslash in description field
2.
3.

What is the expected output? What do you see instead?
To show the exact character in the field

What version of the product are you using?
2.1.5

Please provide any additional information below.
I cannot seem to fix it so that the description field allows all characters, 
straight text. I also need the description field to be text format and not Rich 
Text editor. This option is missing from the admin settings menu. I need the 
description field to hold any value just like any text comment box in basic 
html forms. I do not want to manually escape these within the database.

Original issue reported on code.google.com by hexxamil...@gmail.com on 26 Mar 2012 at 9:03

GoogleCodeExporter commented 9 years ago
I was able to get the rich text menu option added to the admin settings but it 
doesn't seem to do anything if I select no.

Original comment by hexxamil...@gmail.com on 26 Mar 2012 at 10:29

GoogleCodeExporter commented 9 years ago
Hello,

There was an error in the sanitizing of backslash ... it is corrected in 2.1.6

Thanks

Original comment by nils.cpa...@gmail.com on 28 Mar 2012 at 6:56

GoogleCodeExporter commented 9 years ago
hmm.. It seems there is still a problem. If I enter a backslash in the 
description field it turns displays as a right bracket instead. ( ] ) 

I am trying to get the description field to just be plain text with no richtext 
editing. Apparently changing the datatype for that column to text, varchar or 
blob does not have any effect. suggestions?

Original comment by hexxamil...@gmail.com on 30 Mar 2012 at 7:13