diff options
author | myk%mozilla.org <> | 2002-09-20 05:17:21 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2002-09-20 05:17:21 +0200 |
commit | 2f9bd287a04393c37982ee4c2a376a23d3268350 (patch) | |
tree | fed9c7193a05f872d3aeda6e6b26dba1ef50a94a /buglist.cgi | |
parent | 57027d51ead542b621d8c93e4aaec73f791afe16 (diff) | |
download | bugzilla-2f9bd287a04393c37982ee4c2a376a23d3268350.tar.gz bugzilla-2f9bd287a04393c37982ee4c2a376a23d3268350.tar.xz |
Last part of fix for bug 146945: Hack to support format=rdf for legacy applications that don't know to do ctype=rdf instead.
r=gerv
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi index eeede9944..6597fbe3e 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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. |