Changeset 773
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r772 r773 11 11 #93 Upgrade to new Google Maps API (for smaller javascript download) 12 12 #103 Fix empty Category/Locale list bug. 13 #54 Fix RSS redirection for backwards compatibility. 13 14 14 15 0.52 5 March 2006 -
trunk/wiki.cgi
r769 r773 1 #!/usr/ local/bin/perl1 #!/usr/bin/perl 2 2 3 3 use strict; … … 115 115 } 116 116 } elsif ($action eq 'rss') { 117 print $q->redirect( $script_url . '?action=rc;format=rss' ); 117 my $redir_target = $script_url . $script_name . '?action=rc;format=rss'; 118 my %args = map { $_ => ( $q->param($_) || "" ) } 119 qw( feed items days ignore_minor_edits username 120 category locale ); 121 foreach my $arg (sort keys %args) { 122 if ($args{$arg} ne "") { 123 $redir_target .= ";$arg=$args{$arg}"; 124 } 125 } 126 print $q->redirect( $redir_target ); 118 127 } else { # Default is to display a node. 119 128 if ( $format and $format eq "rdf" ) {
