Cite: 'Cite error ref too many keys' not generated if name chunk contains other than A–Z, a–z, 0–9
OpenPublic

Assigned To
None
Priority
Normal
Author
Gadget850
Subscribers
Gadget850, wikibugs-l
Projects
Reference
bz42040
Description

When a reference name is not enclosed in quotes and contains an invalid character, then it should trigger Cite error ref too many keys. Example:

<ref name = smith p1>x</ref>

But, if the the name fragment after the space contains (not just begins) any other character than A–Z, a–z, 0–9, then the error is not triggered. Example:

<ref name = smith p!1>x</ref>

This should generate the error message, but instead it truncates the name at the space.


Version: unspecified
Severity: normal

bzimport added a project: Cite.Via ConduitNov 22 2014, 1:00 AM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz42040.
Gadget850 created this task.Via LegacyNov 12 2012, 10:54 AM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.