Make %URI.Munge respect %URI.Host (don't munge).
commit4d27906b02c754c52207b3cde6de106ed0dec65a
authorEdward Z. Yang <ezyang@mit.edu>
Tue, 7 Jul 2009 02:04:51 +0000 (6 22:04 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Tue, 7 Jul 2009 02:04:51 +0000 (6 22:04 -0400)
tree144aacf4fd7da331a6e5d7a3febd0c47a3c76989
parent8f573df3dc439012cdb5b8290e3a6d373c83f811
Make %URI.Munge respect %URI.Host (don't munge).

%URI.Munge incorrectly munged URIs that pointed to the
same host as the current website (it did, however, have
the correct behavior for when the munge URL was on the
same server).

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
NEWS
library/HTMLPurifier/URIFilter/Munge.php
tests/HTMLPurifier/URIFilter/MungeTest.php