diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-09-30 16:12:40 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-09-30 16:12:40 +0400 |
commit | 80ddf90def5941109b6a8ae55a1fd4017e9b45d1 (patch) | |
tree | fbfbd3907745ee456615b45aa19691c12cc0db0d /plugins/CoreHome/templates/js_global_variables.tpl | |
parent | 59b387b66763e7f16e9e10aff131e3a7a63400d8 (diff) |
fixing issue with urls containing quotes
Diffstat (limited to 'plugins/CoreHome/templates/js_global_variables.tpl')
-rw-r--r-- | plugins/CoreHome/templates/js_global_variables.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/js_global_variables.tpl b/plugins/CoreHome/templates/js_global_variables.tpl index 83d5735fe2..139b2a45bb 100644 --- a/plugins/CoreHome/templates/js_global_variables.tpl +++ b/plugins/CoreHome/templates/js_global_variables.tpl @@ -1,7 +1,7 @@ <script type="text/javascript"> var piwik = {literal}{}{/literal}; piwik.token_auth = "{$token_auth}"; - piwik.piwik_url = "{$piwikUrl}"; + piwik.piwik_url = "{$piwikUrl|urlencode}"; {if isset($idSite)}piwik.idSite = "{$idSite}";{/if} {if isset($siteName)}piwik.siteName = "{$siteName}";{/if} {if isset($siteMainUrl)}piwik.siteMainUrl = "{$siteMainUrl}";{/if} |