]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/patches/gnump3d-3.0-fix_random_dir_for_opera.patch
Fix gnump3d: Random dir with opera, add gnump3d-index to fcron.daily
[people/teissler/ipfire-2.x.git] / src / patches / gnump3d-3.0-fix_random_dir_for_opera.patch
diff --git a/src/patches/gnump3d-3.0-fix_random_dir_for_opera.patch b/src/patches/gnump3d-3.0-fix_random_dir_for_opera.patch
new file mode 100644 (file)
index 0000000..82c9fd0
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur gnump3d-3.0.org/lib/gnump3d/plugins/random.pm gnump3d-3.0/lib/gnump3d/plugins/random.pm
+--- gnump3d-3.0.org/lib/gnump3d/plugins/random.pm      2007-10-18 19:34:02.000000000 +0200
++++ gnump3d-3.0/lib/gnump3d/plugins/random.pm  2009-05-02 18:25:13.000000000 +0200
+@@ -525,7 +525,7 @@
+       $random= $1;
+       }
+-      &sendData($data, "HTTP/1.0 300 OK\nPragma: no-cache\nCache-control: no-cache\nLocation: /$random\n\n" );
++      &sendData($data, "HTTP/1.0 302 OK\nPragma: no-cache\nCache-control: no-cache\nLocation: /$random\n\n" );
+       exit;
+     }