r49090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49089‎ | r49090 | r49091 >
Date:16:48, 31 March 2009
Author:dale
Status:deferred
Tags:
Comment:
opps... miro url double escaped.
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMediaSearch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMediaSearch.php
@@ -363,8 +363,8 @@
364364
365365 // make miro link:
366366 $o .= '<li class="subscribe"><a href="http://subscribe.getMiro.com/?url1=' .
367 - 'http%3A%2F%2F' . $_SERVER['HTTP_HOST'] . urlencode( $this->get_httpd_filters_query() ) . '" ' .
368 - 'title="Subscribe with Miro"><img src="' . $wgStylePath . '/mvpcf/images/button_subscribe.png" alt="Miro Video Player" border="0" /></a></li>';
 367+ 'http%3A%2F%2F' . $_SERVER['HTTP_HOST'] . urlencode( $sTitle->getFullUrl( $this->get_httpd_filters_query() ) ) . '" ' .
 368+ 'title="Subscribe with Miro"><img src="' . $wgStylePath . '/mvpcf/images/button_subscribe.png" alt="Miro Video Player" border="0" /></a></li>';
369369
370370 // make rss link:
371371 $o .= '<li class="rss">';

Status & tagging log