RESOLVED FIXED 101061
[EFL][WK2]Minibrowser forgets http variables when url includes ampersand
https://bugs.webkit.org/show_bug.cgi?id=101061
Summary [EFL][WK2]Minibrowser forgets http variables when url includes ampersand
Jussi Kukkonen (jku)
Reported 2012-11-02 08:39:35 PDT
It seems Elementary entry thinks it's supposed to mangle input and output. If user inputs an ampersand sign, that is turned into "&" in the elm_entry_entry_get() output. This will in effect drop every http variable after the first. I'll attach a patch.
Attachments
Patch (2.06 KB, patch)
2012-11-02 08:51 PDT, Jussi Kukkonen (jku)
no flags
Jussi Kukkonen (jku)
Comment 1 2012-11-02 08:51:27 PDT
Jussi Kukkonen (jku)
Comment 2 2012-11-02 08:57:23 PDT
It seems it's not possible to tell the entry we don't need this entry processing: I just asked on #e and using markup_to_utf8 is apparently the correct way to handle this.
Chris Dumez
Comment 3 2012-11-02 09:06:55 PDT
Comment on attachment 172068 [details] Patch Have you tried: elm_object_part_text_get(entry, "default") / elm_object_part_text_set(entry, "default", url) ?
Jussi Kukkonen (jku)
Comment 4 2012-11-05 01:17:35 PST
(In reply to comment #3) > (From update of attachment 172068 [details]) > Have you tried: > elm_object_part_text_get(entry, "default") / elm_object_part_text_set(entry, "default", url) ? This feature is actually implemented in elm_object IIRC so that probably won't help. I'll test anyway.
Jussi Kukkonen (jku)
Comment 5 2012-11-05 04:20:46 PST
(In reply to comment #4) > This feature is actually implemented in elm_object IIRC so that probably won't help. Confirming that elm_object_part_text_get/set works the same way, it returns the escaped string which we do not want.
Chris Dumez
Comment 6 2012-11-05 04:24:18 PST
(In reply to comment #5) > (In reply to comment #4) > > This feature is actually implemented in elm_object IIRC so that probably won't help. > > Confirming that elm_object_part_text_get/set works the same way, it returns the escaped string which we do not want. Ok, thanks for checking. LGTM then.
WebKit Review Bot
Comment 7 2012-11-06 04:14:56 PST
Comment on attachment 172068 [details] Patch Clearing flags on attachment: 172068 Committed r133585: <http://trac.webkit.org/changeset/133585>
WebKit Review Bot
Comment 8 2012-11-06 04:15:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.