kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-16 02:26 am

[dw-free] extra link on RSS/Atom feed URLs on Manage Settings page

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

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

Remove extra http headers from syndication links.

Patch by [personal profile] yvi.

Files modified:
  • cgi-bin/DW/Setting/SynLevel.pm
--------------------------------------------------------------------------------
diff -r 5cf6a90a3700 -r 96e4837298c4 cgi-bin/DW/Setting/SynLevel.pm
--- a/cgi-bin/DW/Setting/SynLevel.pm	Sun Sep 13 23:44:56 2009 -0500
+++ b/cgi-bin/DW/Setting/SynLevel.pm	Tue Sep 15 21:25:50 2009 -0500
@@ -57,8 +57,8 @@ sub option {
     my $userdomain = $u->journal_base;
     
     $ret .= "<br />" . $class->ml( 'setting.synlevel.option.note', {
-        aopts_atom => "href='http://$userdomain/data/atom'",
-        aopts_rss  => "href='http://$userdomain/data/rss'",
+        aopts_atom => "href='$userdomain/data/atom'",
+        aopts_rss  => "href='$userdomain/data/rss'",
     } );
 
     my $errdiv = $class->errdiv( $errs, "synlevel" );
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org