Correctly manage maximum lengths of certain HMT fields #30
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "df/webif:df-hmtfieldlength-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The title and synopsis fields have a maximum length. The maximum is enforced in the UI by the
maxlength
attribute of the<input>
elements. It's also supposed to be enforced in thets settitle
andts setsynopsis
methods, but there are missing $s that break that. As a '\025' is now prefixed to the user's input, the maximum needs to be reduced.Does "guidance" need the same treatment?
WIP: correctly manage maximum lengths of certain HMT fieldsto Correctly manage maximum lengths of certain HMT fieldsI'm not sure about the Guidance field.
The Title and Synopsis (synposis in the Wiki) are said to have 3 byte headers followed by the text, but, as I understand, are actually text header+field things that work like this (based on ETSI EN 300 468 V1.11.1 (2010-04) stashed in the Wiki):
But the Guidance field has only a single header byte.
Have the first two bytes been overloaded to hold the guidance mode and type, or is the 1+74 field actually 3+72, where the default encoding is UTF-8 and so appears as 1+74?