Modify

Opened 15 years ago

Closed 15 years ago

#5083 closed enhancement (fixed)

[patch] Warning for characters < 0x20 in keys or values

Reported by: bilbo Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: patch Cc:

Description

In the patch I added check for characters with code lower than 0x20 in keys and values to Validator (these are newline, tab and other special characters).

On few occasions I've run into a newline character in the data, causing some trouble in Mapnik and other software, so I thought it would be useful to add check for these and similar cases.

Also, it fixes one bug which could end up with exception (checking for null value should be check for null key)

Attachments (1)

validator-patch.patch (2.8 KB ) - added by bilbo 15 years ago.
Check for characters <0x20 in validator

Download all attachments as: .zip

Change History (2)

by bilbo, 15 years ago

Attachment: validator-patch.patch added

Check for characters <0x20 in validator

comment:1 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

In [o21540]. Not yet as binary, due to the previous role changes I did, which probably needs some more testing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.