File: fix-javascript.patch

package info (click to toggle)
imageindex 1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 776 kB
  • sloc: perl: 12,264; makefile: 22
file content (13 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description:
 fix SCRIPT Tag, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322552
--- a/imageindex
+++ b/imageindex
@@ -2325,7 +2325,7 @@
     print "<BODY>\n";
 
     # Break out of frames
-    print "<SCRIPT TYPE=\"textvascript\">\n";
+    print "<SCRIPT TYPE=\"text/javascript\">\n";
     print "if (parent.frames.length > 0) {\n";
     print "   parent.location.href = self.document.location\n";
     print "}\n";