Skip to main content

Bug Tracker

Side navigation

#12350 closed bug (fixed)

Opened August 20, 2012 02:22AM UTC

Closed August 21, 2012 01:02PM UTC

jQuery.trim should remove byte-order-mark (BOM) characters

Reported by: dmethvin Owned by:
Priority: low Milestone: 1.8.1
Component: core Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description
Attachments (0)
Change History (6)

Changed August 20, 2012 02:40AM UTC by Wesley Walser comment:1

resolution: → fixed
status: newclosed

Fix #12350. Remove BOM in jQuery.trim. Close gh-897.

Changeset: 2b5b4ebbd78ce10cbbe2a6f057feea615fc69629

Changed August 20, 2012 02:41AM UTC by dmethvin comment:2

component: unfiledcore
milestone: None1.8.1
priority: undecidedlow

Changed August 20, 2012 01:36PM UTC by Dave Methvin comment:3

Revert "Fix #12350. Remove BOM in jQuery.trim. Close gh-897."

This reverts commit 2b5b4ebbd78ce10cbbe2a6f057feea615fc69629.

String.prototype.trim doesn't trim BOM in Safari 5.0 so this won't work without additional feature detects.

http://swarm.jquery.org/result/165379

Changeset: ac043b1bc8096bfbb4be7995af4f5ccc5cad7c19

Changed August 20, 2012 01:37PM UTC by dmethvin comment:4

resolution: fixed
status: closedreopened

Changed August 20, 2012 01:39PM UTC by dmethvin comment:5

status: reopenedopen

Changed August 21, 2012 01:02PM UTC by Richard Gibson comment:6

resolution: → fixed
status: openclosed

Fix #12350: jQuery.trim should remove BOM

Changeset: 9e246dd7fa010f2b8e112ec5a57491167556c55a