Summary: | Data corruption when using a replace() callback function with data containing "$" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Steven Levithan <steves_list> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mrowe | ||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
URL: | http://blog.stevenlevithan.com/javascript/commafy-numbers/ | ||||||||
Attachments: |
|
Description
Steven Levithan
2007-06-20 13:42:40 PDT
Created attachment 15146 [details]
Test case
Confirmed. I can reproduce this on Safari 2.0.r and 3 beta on Mac. I have a fix for this in my tree, I just need to write up some test cases to better cover the expected behaviours. Created attachment 15149 [details]
Patch
Comment on attachment 15149 [details]
Patch
r=me
|