Ticket #5412 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Trailing comma creates blank tag

Reported by: matt Assigned to: ionfish
Priority: normal Milestone: 2.5
Component: Administration Version: 2.3
Severity: normal Keywords: has-patch 2nd-opinion
Cc:

Description

In the tag box, put a trailing comma, like this:

myfirsttag,

It will create a blank tag and attach it to the post.

Expected: tags with nothing but whitespace aren't created.

Attachments

dont_add_blank_tags.patch (455 bytes) - added by ionfish on 12/02/07 17:54:33.
Trims whitespace and trailing commas.

Change History

12/02/07 17:54:33 changed by ionfish

  • attachment dont_add_blank_tags.patch added.

Trims whitespace and trailing commas.

12/02/07 17:55:29 changed by ionfish

  • keywords set to has-patch 2nd-opinion.
  • owner changed from anonymous to ionfish.
  • status changed from new to assigned.

12/18/07 16:36:02 changed by lloydbudd

  • milestone changed from 2.3.2 to 2.4.

12/19/07 17:34:15 changed by westi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [6407]) Don't create empty tags. Fixes #5412 props ionfish