erotix / phone2chrome

Automatically exported from code.google.com/p/phone2chrome
0 stars 0 forks source link

Unscaped strings #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Android APP.

If saved URL contains unscaped character (') it crashed when you try to delete 
from listview

Original issue reported on code.google.com by luis.gva...@gmail.com on 5 Mar 2011 at 7:26

GoogleCodeExporter commented 8 years ago
Possible solution?
url.replace("'", "\'");

Original comment by luis.gva...@gmail.com on 5 Mar 2011 at 7:33

GoogleCodeExporter commented 8 years ago
Fix consist in adding URL.encode when saving URL and URL.decode when displaying 
it. 
There is no more exceptions on deleting.

Original comment by luis.gva...@gmail.com on 8 Mar 2011 at 6:16

GoogleCodeExporter commented 8 years ago
To avoid asian languages issues, is better to just encode apos ( ' ) is appears 

Original comment by luis.gva...@gmail.com on 8 Mar 2011 at 9:02