| Summary: | REGRESSION (iOS 17): The textarea element URL encodes pasteboard data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Ubois <ben> | ||||
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | akeerthi, ap, cdumez, ddp.bkdn, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 17 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ben Ubois
2023-09-21 22:42:24 PDT
I can reproduce this on iOS, but not on macOS. Quite weird indeed. It looks like this does not just affect textarea. Any text that matches this pattern gets URL encoded when copied in iOS Safari 17. Do you happen to know if this is new in iOS 17, and didn't affect earlier version? Created attachment 467854 [details]
iOS 16.4 vs iOS 17.0 result
It appears to be new as of iOS 17. I was able to test on 16.4 as well (the most recent of the simulator versions available) and the same issue was not present.
In the attachment you can see the difference between 16.4 and 17 when copying and pasting from a <p> into a <textarea>.
It appears that iOS 17 is down casing the pasted string as well.
Pull request: https://github.com/WebKit/WebKit/pull/18902 Committed 269178@main (a2225304ef16): <https://commits.webkit.org/269178@main> Reviewed commits have been landed. Closing PR #18902 and removing active labels. *** Bug 264867 has been marked as a duplicate of this bug. *** This should be working correctly in current iOS 17.2 beta. Please comment if it does not. |