After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729649 - lua-factory: Fix garbage after escaped text in grl.unescape()
lua-factory: Fix garbage after escaped text in grl.unescape()
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
unspecified
Other All
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2014-05-06 14:00 UTC by Bastien Nocera
Modified: 2014-05-07 16:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lua-factory: Fix garbage after escaped text in grl.unescape() (844 bytes, patch)
2014-05-06 14:00 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2014-05-06 14:00:11 UTC
.
Comment 1 Bastien Nocera 2014-05-06 14:00:14 UTC
Created attachment 275981 [details] [review]
lua-factory: Fix garbage after escaped text in grl.unescape()

grl.unescape('"Look at Me"')
would give back:
"Look at Me"t Me"
instead of:
"Look at Me"

Don't forget to terminate the copied string when we've unescaped.
Comment 2 Bastien Nocera 2014-05-07 16:21:13 UTC
Attachment 275981 [details] pushed as 6c7f503 - lua-factory: Fix garbage after escaped text in grl.unescape()