]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Last part of fix for bug 146945: Hack to support format=rdf for legacy applications...
authormyk%mozilla.org <>
Fri, 20 Sep 2002 03:17:21 +0000 (03:17 +0000)
committermyk%mozilla.org <>
Fri, 20 Sep 2002 03:17:21 +0000 (03:17 +0000)
r=gerv

buglist.cgi

index eeede9944b8d1776ccddf223659dfcfdfd33d6b9..6597fbe3ea0863b0e6f804215bdfb3150fda2e58 100755 (executable)
@@ -86,6 +86,12 @@ else {
     quietly_check_login();
 }
 
+# Hack to support legacy applications that think the RDF ctype is at format=rdf.
+if ($::FORM{'format'} eq "rdf" && !$::FORM{'ctype'}) { 
+    $::FORM{'ctype'} = "rdf";
+    delete($::FORM{'format'});
+}
+
 # Determine the format in which the user would like to receive the output.
 # Uses the default format if the user did not specify an output format;
 # otherwise validates the user's choice against the list of available formats.