Opened 11 years ago

Closed 10 years ago

#1389 closed defect (fixed)

Enforce 255-char limit for tag keys/values

Reported by: Richard Owned by: richard@…
Priority: minor Milestone:
Component: potlatch (flash editor) Version:
Keywords: Cc:

Description

Presumably this is Quite Hard in case of Unicode values and it may be best just to leave them to the server to reject.

Change History (4)

comment:1 Changed 11 years ago by Shaun McDonald

Summary: Enforce 255-byte limit for tag keys/valuesEnforce 255-char limit for tag keys/values

There is a big difference between bytes and chars, when it comes to unicode. The 0.6 db will have a limit of 255 chars.

comment:2 Changed 11 years ago by Richard

Well, if the server limit is 255 characters, that makes life a lot easier: textfield.maxChars=255.

comment:4 Changed 10 years ago by Richard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.