Bug Tracker

Ticket #12350 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

Description

Change History

comment:1 Changed 2 years ago by Wesley Walser

  • Status changed from new to closed
  • Resolution set to fixed

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

Changeset: 2b5b4ebbd78ce10cbbe2a6f057feea615fc69629

comment:2 Changed 2 years ago by dmethvin

  • Priority changed from undecided to low
  • Component changed from unfiled to core
  • Milestone changed from None to 1.8.1

comment:3 Changed 2 years ago by Dave Methvin

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

comment:4 Changed 2 years ago by dmethvin

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:5 Changed 2 years ago by dmethvin

  • Status changed from reopened to open

comment:6 Changed 2 years ago by Richard Gibson

  • Status changed from open to closed
  • Resolution set to fixed

Fix #12350: jQuery.trim should remove BOM

Changeset: 9e246dd7fa010f2b8e112ec5a57491167556c55a

Note: See TracTickets for help on using tickets.