[grilo-plugins] metrolyrics: char '%' is invalid in metrolyrics url
- From: Victor Toso de Carvalho <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] metrolyrics: char '%' is invalid in metrolyrics url
- Date: Fri, 29 Apr 2016 12:31:38 +0000 (UTC)
commit e80c26e2f40926495ca41a5d9a1ae3d486343d87
Author: Victor Toso <me victortoso com>
Date: Fri Apr 29 11:14:39 2016 +0200
metrolyrics: char '%' is invalid in metrolyrics url
We should not include '%' or its encoded version to metrolyrics
requests.
https://bugzilla.gnome.org/show_bug.cgi?id=764814
src/lua-factory/sources/grl-metrolyrics.lua | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-metrolyrics.lua b/src/lua-factory/sources/grl-metrolyrics.lua
index ebae835..8e244f1 100644
--- a/src/lua-factory/sources/grl-metrolyrics.lua
+++ b/src/lua-factory/sources/grl-metrolyrics.lua
@@ -45,7 +45,7 @@ netopts = {
-- Source utils --
------------------
-METROLYRICS_INVALID_URL_CHARS = "[" .. "%(%)%[%]%$%&" .. "]"
+METROLYRICS_INVALID_URL_CHARS = "[" .. "%(%)%[%]%$%&%%" .. "]"
METROLYRICS_DEFAULT_QUERY = "http://www.metrolyrics.com/%s-lyrics-%s.html"
---------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]