diff options
author | Philip Chimento <philip@endlessm.com> | 2013-09-20 10:26:32 -0700 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2013-09-23 15:40:54 -0700 |
commit | 176dac4f4cc3d575687e50dba4c4cc0906402c0d (patch) | |
tree | 8aa00d4ea1bd8c2409855e7f9762559c6169074e /webhelper | |
parent | 73f112d4cdff1e246f7635fbf4747a21db730329 (diff) |
URIdecode web action name
In case the name of the web action is URIencoded, make sure to URIdecode
it before looking it up in the dictionary of defined web actions.
[endlessm/eos-sdk#310]
Diffstat (limited to 'webhelper')
-rw-r--r-- | webhelper/webhelper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webhelper/webhelper.js b/webhelper/webhelper.js index dc1f842..e940778 100644 --- a/webhelper/webhelper.js +++ b/webhelper/webhelper.js @@ -133,7 +133,7 @@ const Application = new Lang.Class({ // get the name and parameters for the desired function let f_call = uri.substring(EOS_URI_SCHEME.length, uri.length).split('?'); - var function_name = f_call[0]; + var function_name = decodeURI(f_call[0]); var parameters = {}; if(f_call[1]) { |