Bug 35501
| Summary: | non-breaking spaces in form submitted text fields | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Stephen Ryner Jr. <webkit> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.5 | ||
Stephen Ryner Jr.
Version 4.0.4 (6531.21.10, r55270)
Apologies if this is a dupe, but I can't find the exact bug.
This started in the last week or so. A simple test is to use the Google search bar (not a form field) to search for a phrase, e.g. "looking for a song" which Google then turns into
http://www.google.com/search?client=safari&rls=en&q=looking+for+a+song&ie=UTF-8&oe=UTF-8
Then edit the search phrase in the text field in the page, for example "looking for a song that I can sing" and click the search button. Google now shows the non-breakings spaces:
http://www.google.com/search?hl=en&safe=off&client=safari&rls=en&q=looking+for+a+song%C2%A0that%C2%A0I%C2%A0can%C2%A0sing&btnG=Search&aq=f&aqi=&aql=&oq=
The %C2%A0 or \0xA0 is causing all kinds of grief, for example in dailymile.com where Webkit nightly form submits wrap oddly (at - or —) or not at all. See for example
http://www.dailymile.com/people/nuthatch/entries/1072400
https://bugs.webkit.org/show_bug.cgi?id=17631 may be similar issue.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 35457 ***