Commit Diff


commit - 5c9343753fce6d3c9465db301743d07644c02dc7
commit + 5d434a3ff3426bfdc1a98da2543b1345a475ba67
blob - e7579394e83836803adee0f5d1fb581d918de154
blob + e78c6687350e3501716f565c9e33b6a31880143b
--- src/cmd/venti/srv/www/stats.html
+++ src/cmd/venti/srv/www/stats.html
@@ -6,6 +6,7 @@
     <script language="javascript" src="status.js"></script>
   </head>
   <body bgcolor=#ffffff>
+    <iframe name="hidden" frameborder="0" height="0"></iframe>
 
     <center>
     <b>venti.your-domain.com &ndash; venti server statistics</b>
blob - bf8cdbd5e7eb2f46362b8ca1ebfec4c163ea9c5c
blob + fd7fe0da1f779115bcd0681ebc6fe01632a02b25
--- src/cmd/venti/srv/www/stats.js
+++ src/cmd/venti/srv/www/stats.js
@@ -395,5 +395,5 @@ function set(name, value) {
 	eval(name+"= \""+value+"\"")
 	redrawsettings()
 	// Works in FireFox, not in Safari
-	parent.hidden.location.href = "/set/"+name+"/"+value
+	parent.hidden.location.href = "/set?name="+name+"&value="+value
 }