Sfoglia il codice sorgente

Added version to js/css assets URLs.

(in order to prevent some abusive caches to serve an obsolete version of
these files when ZeroBin is upgraded.)

(cherry picked from commit 889eba47962771c612692d1d8028258804605563)

Conflicts:
	tpl/page.html
Sebastien SAUVAGE 13 anni fa
parent
commit
8435b9ab3a
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      tpl/page.html

+ 7 - 7
tpl/page.html

@@ -4,14 +4,14 @@
 		<meta charset="utf-8" />
 		<meta charset="utf-8" />
 		<meta name="robots" content="noindex" />
 		<meta name="robots" content="noindex" />
 		<title>ZeroBin</title>
 		<title>ZeroBin</title>
-		<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" /> 
+		<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
 		<link type="text/css" rel="stylesheet" href="css/prettify.css?{$VERSION|rawurlencode}#" />
 		<link type="text/css" rel="stylesheet" href="css/prettify.css?{$VERSION|rawurlencode}#" />
-		<script type="text/javascript" src="js/jquery.js#"></script>
-		<script type="text/javascript" src="js/sjcl.js#"></script>
-		<script type="text/javascript" src="js/base64.js#"></script>
-		<script type="text/javascript" src="js/rawdeflate.js#"></script>
-		<script type="text/javascript" src="js/rawinflate.js#"></script>{if="$SYNTAXHIGHLIGHTING"}
-		<script type="text/javascript" src="js/prettify.js#"></script>{/if}
+		<script type="text/javascript" src="js/jquery.js?{$VERSION|rawurlencode}#"></script>
+		<script type="text/javascript" src="js/sjcl.js?{$VERSION|rawurlencode}#"></script>
+		<script type="text/javascript" src="js/base64.js?{$VERSION|rawurlencode}#"></script>
+		<script type="text/javascript" src="js/rawdeflate.js?{$VERSION|rawurlencode}#"></script>
+		<script type="text/javascript" src="js/rawinflate.js?{$VERSION|rawurlencode}#"></script>{if="$SYNTAXHIGHLIGHTING"}
+		<script type="text/javascript" src="js/prettify.js?{$VERSION|rawurlencode}#"></script>{/if}
 		<script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
 		<script type="text/javascript" src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
 		<!--[if lt IE 10]>
 		<!--[if lt IE 10]>
 		<style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>
 		<style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>