git | 1 Apr 2010 05:30
Favicon

[mantisbt-commits] mantisbt.git branch, master-1.2.x, updated. release-1.2.0-30-gd1d00c0

The branch, master-1.2.x has been updated
       via  d1d00c02b944611200c5f263b20826e664906691 (commit)
      from  86fc322dfc414e168f44f797715e55b6962c89b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1d00c02b944611200c5f263b20826e664906691
Author: Jonas Nockert <jonasnockert@...>
Date:   Mon Dec 21 11:17:46 2009 +0100

    Fix #10877: Word export results in missing CSS errors

    Signed-off-by: David Hicks <hickseydr@...>

-----------------------------------------------------------------------

Summary of changes:
 core/html_api.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------

commit d1d00c02b944611200c5f263b20826e664906691
Author: Jonas Nockert <jonasnockert@...>
Date:   Mon Dec 21 11:17:46 2009 +0100

    Fix #10877: Word export results in missing CSS errors

    Signed-off-by: David Hicks <hickseydr@...>

diff --git a/core/html_api.php b/core/html_api.php
index f495314..d5772b0 100644
--- a/core/html_api.php
+++ b/core/html_api.php
 <at>  <at>  -341,12 +341,12  <at>  <at>  function html_title( $p_page_title = null ) {
  */
 function html_css() {
 	$t_css_url = config_get( 'css_include_file' );
-	echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_url ), '"
/>', "\n";
+	echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url(
helper_mantis_url( $t_css_url ), true ), '" />', "\n";

 	# Add right-to-left css if needed
 	if( lang_get( 'directionality' ) == 'rtl' ) {
 		$t_css_rtl_url = config_get( 'css_rtl_include_file' );
-		echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_rtl_url
), '" />', "\n";
+		echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url(
helper_mantis_url( $t_css_rtl_url ), true ), '" />', "\n";
 	}

 	# fix for NS 4.x css

-----------------------------------------------------------------------

--
Mantis Bug Tracker

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane