diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-04-05 00:33:05 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-04-05 00:33:05 +0300 |
commit | f944ac9cba0ade79864f2a8f48ab5def6f38f8a6 (patch) | |
tree | d489d1cd26820bdc69c34362864b7a0b534b12d7 /lib | |
parent | e824c6cffa5408a42b218f943a1e017cf598cedb (diff) | |
download | nextcloud-server-f944ac9cba0ade79864f2a8f48ab5def6f38f8a6.tar.gz nextcloud-server-f944ac9cba0ade79864f2a8f48ab5def6f38f8a6.zip |
Add a name to the version parameter
Without an additional name it's nearly impossible to write positive security model based rules since the parameter name isn't defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index 225830704a9..73094232230 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -37,7 +37,7 @@ class OC_TemplateLayout extends OC_Template { } else { parent::__construct('core', 'layout.base'); } - $versionParameter = '?' . md5(implode(OC_Util::getVersion())); + $versionParameter = '?v=' . md5(implode(OC_Util::getVersion())); // Add the js files $jsfiles = self::findJavascriptFiles(OC_Util::$scripts); $this->assign('jsfiles', array(), false); |