fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-11 12:52 pm

[dw-free] clean up log messages that appear when global warnings are on

[commit: http://hg.dwscoalition.org/dw-free/rev/da48f24b7db5]

http://bugs.dwscoalition.org/show_bug.cgi?id=3040

Parse out the arguments into a hash, instead of a string.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/ljfeed.pl
--------------------------------------------------------------------------------
diff -r edf02266545a -r da48f24b7db5 cgi-bin/ljfeed.pl
--- a/cgi-bin/ljfeed.pl	Mon Oct 11 20:35:22 2010 +0800
+++ b/cgi-bin/ljfeed.pl	Mon Oct 11 20:52:19 2010 +0800
@@ -84,7 +84,7 @@ sub make_feed
         return undef;
     }
 
-    my %FORM = $r->query_string;
+    my %FORM = LJ::parse_args( $r->query_string );
 
     ## load the itemids
     my (@itemids, @items);
@@ -253,7 +253,7 @@ sub make_feed
                 $event =~ s!<(lj-)?poll-$pollid>!<div><a href="$LJ::SITEROOT/poll/?id=$pollid">View Poll: $name</a></div>!g;
             }
 
-            my %args = $r->query_string;
+            my %args = LJ::parse_args( $r->query_string );
             LJ::EmbedModule->expand_entry($u, \$event, expand_full => 1)
                 if %args && $args{'unfold_embed'};
 
--------------------------------------------------------------------------------