Skip to content

Commit 9b2a741

Browse files
committed
Fixed a bug
1 parent a7d044d commit 9b2a741

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gonapps-url-decoder-1.1-1.rockspec renamed to gonapps-url-decoder-1.1-2.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package = "gonapps-url-decoder"
2-
version = "1.1-1"
2+
version = "1.1-2"
33

44
source = {
55
url = "git://github.com/gonapps/gonapps-lua-url-decoder",
6-
tag = "v1.1"
6+
tag = "v1.1-2"
77
}
88

99
description = {

src/gonapps/url/decoder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function _M.rawDecode(url)
77
end
88

99
function _M.decode(url)
10-
return string.gsub(_M.rawDecode(url), "+", " ")
10+
return _M.rawDecode(string.gsub(url, "+", " "))
1111
end
1212

1313
return _M

0 commit comments

Comments
 (0)