Fix two bugs in MakeAbsolute filter involving base URIs that have empty path.
commit594268ca3baabdafc690a595abba59422b9438b2
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Sat, 5 Jul 2008 07:12:44 +0000 (5 03:12 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Sat, 5 Jul 2008 07:12:44 +0000 (5 03:12 -0400)
treeb9f28b11a59b1162ef111d476b28174129b1b649
parent965be3bd7352e278bd897c54a79748d167bb8f46
Fix two bugs in MakeAbsolute filter involving base URIs that have empty path.

The bugs are:
* Undefined $is_folder variable when path is empty, and
* Improper concatenation of host and path together.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
NEWS
library/HTMLPurifier/URIFilter/MakeAbsolute.php
tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php