Skip to main content

Bug Tracker

Side navigation

#13522 closed bug (notabug)

Opened February 26, 2013 04:14PM UTC

Closed February 26, 2013 04:17PM UTC

Email Validation (Plugins/Validation/Methods/email) Allows Non-Breaking Space at the end of an Email

Reported by: Ben Thomas Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

As the title suggests, the jQuery email validation plugin (built in to jQuery core) allows a non-breaking space character at the end of an email address. This should not be allowed (a normal space at the end of an email is marked as invalid).

To test this:

  • Type an email into the input box, then press the space bar. Press validate. This will display a message that the email address is invalid. This is correct functionality.
  • Type an email address again, then press Alt+255 on Windows, or cmd+space on Mac. This will be accepted as valid and won't show an error. This is incorrect. Alt+255 or cmd+space is a non-breaking space.

Attachments (0)
Change History (1)

Changed February 26, 2013 04:17PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

This is the core bug tracker, please report plugin bugs to the author. There is no email validation built into jQuery core.