Revision [16658]

This is an old revision of ArchiveLinkFormattingFix made by CjdI1r on 2007-05-31 10:30:38.

 

The link formatting code had several security holes, and some incorrect regular expressions. The changes on this page fix these problems:

This also adds two features I like:

Enjoy! --MarkLentczner

wakka.php

Change the function Link to
%% function Link($tag, $method = , $text = , $track = 1) {
if (!$text) $text = $tag;
$text = htmlspecialchars($text);

$url = ;

if (preg_match("/^([A-Z][a-zA-Z] ):([^\\s\"<>
There are 3 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki