diff options
author | plegall <plg@piwigo.org> | 2011-10-04 12:48:02 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-10-04 12:48:02 +0000 |
commit | 72163bef70c925e4350a4ae92e1383215809d668 (patch) | |
tree | e4a6078dc822f58be9c225db12921ed77c2df69c /plugins/language_switch/flags.tpl | |
parent | c1dd676c5c0a382d979d8e44642d904b966d6e8a (diff) |
bug 2430 fixed: prevents from cross site scripting, the URL is cleanly rewritten
git-svn-id: http://piwigo.org/svn/trunk@12342 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/language_switch/flags.tpl')
-rw-r--r-- | plugins/language_switch/flags.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl index 9bf88dba6..3add5c1a2 100644 --- a/plugins/language_switch/flags.tpl +++ b/plugins/language_switch/flags.tpl @@ -19,7 +19,7 @@ {foreach from=$lang_switch.flags key=code item=flag name=f} <li> - <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}"> + <a rel="nofollow" href="{$flag.url}"> <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/> {$flag.title} </a> </li> |