Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

do charrefs here too

  • Loading branch information...
commit 0da0c2aa3d69418d3c954abc91a3934998663742 1 parent 0f30daa
Chris Nandor authored September 03, 2003

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  Slash/Utility/Data/Data.pm
1  Slash/Utility/Data/Data.pm
@@ -1688,6 +1688,7 @@ sub fudgeurl {
1688 1688
 	$url =~ s/&#(.+?);//g;
1689 1689
 	# we don't like SCRIPT at the beginning of a URL
1690 1690
 	my $decoded_url = decode_entities($url);
  1691
+	$decoded_url =~ s{ &(\#?[a-zA-Z0-9]+);? } { approveCharref($1) }gex;
1691 1692
 	return $decoded_url =~ /^[\s\w]*script\b/i ? undef : $url;
1692 1693
 }
1693 1694
 }

0 notes on commit 0da0c2a

Please sign in to comment.
Something went wrong with that request. Please try again.