From fcc58e4e334d25732f91418b35ab07ce82c2f4a3 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 18 Mar 2007 00:13:09 +0000 Subject: [PATCH] Remove leading slash, which implies absolute path resolution, which is not the case. git-svn-id: http://htmlpurifier.org/svnroot@833 48356398-32a2-884e-a903-53898d9a118a --- xhtml-compiler/smoketests/(special)/index.xhtml | 6 +++--- xhtml-compiler/smoketests/index.xhtml | 4 ++-- xhtml-compiler/smoketests/private/index.xhtml | 6 +++--- xhtml-compiler/smoketests/recursive/index.xhtml | 6 +++--- xhtml-compiler/smoketests/recursive/subdir/index.xhtml | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/xhtml-compiler/smoketests/(special)/index.xhtml b/xhtml-compiler/smoketests/(special)/index.xhtml index 957104f..4a44be6 100644 --- a/xhtml-compiler/smoketests/(special)/index.xhtml +++ b/xhtml-compiler/smoketests/(special)/index.xhtml @@ -2,11 +2,11 @@ - /(special)/index.html + (special)/index.html -

/(special)/index.html

-

This is the index file for /(special). Directory is +

(special)/index.html

+

This is the index file for (special)/. Directory is explicitly allowed and does not allow recursion. This file should compile despite the funny directory name.

diff --git a/xhtml-compiler/smoketests/index.xhtml b/xhtml-compiler/smoketests/index.xhtml index d9ffdc5..1f99077 100644 --- a/xhtml-compiler/smoketests/index.xhtml +++ b/xhtml-compiler/smoketests/index.xhtml @@ -2,7 +2,7 @@ - /index.html + index.html -

/index.html

+

index.html

This is the index file for smoketest files. This root directory is explicitly allowed and does not allow recursion.

diff --git a/xhtml-compiler/smoketests/private/index.xhtml b/xhtml-compiler/smoketests/private/index.xhtml index f986486..487e110 100644 --- a/xhtml-compiler/smoketests/private/index.xhtml +++ b/xhtml-compiler/smoketests/private/index.xhtml @@ -3,11 +3,11 @@ - /private/index.xhtml + private/index.xhtml -

/private/index.xhtml

-

This is a theoretical index file for /private. This file +

private/index.xhtml

+

This is a theoretical index file for private/. This file should not ever be compiled.

\ No newline at end of file diff --git a/xhtml-compiler/smoketests/recursive/index.xhtml b/xhtml-compiler/smoketests/recursive/index.xhtml index fdf2819..7d9ee36 100644 --- a/xhtml-compiler/smoketests/recursive/index.xhtml +++ b/xhtml-compiler/smoketests/recursive/index.xhtml @@ -2,11 +2,11 @@ - /recursive/index.html + recursive/index.html -

/recursive/index.html

-

This is the index file for /recursive. Directory is +

recursive/index.html

+

This is the index file for recursive/. Directory is explicitly allowed and allows recursion.

\ No newline at end of file diff --git a/xhtml-compiler/smoketests/recursive/subdir/index.xhtml b/xhtml-compiler/smoketests/recursive/subdir/index.xhtml index d647d04..39903a9 100644 --- a/xhtml-compiler/smoketests/recursive/subdir/index.xhtml +++ b/xhtml-compiler/smoketests/recursive/subdir/index.xhtml @@ -2,11 +2,11 @@ - /recursive/subdir/index.html + recursive/subdir/index.html -

/recursive/subdir/index.html

-

This is the index file for /recursive/subdir. Implicitly +

recursive/subdir/index.html

+

This is the index file for recursive/subdir/. Implicitly permitted through a parent directory's recursive definition.

\ No newline at end of file -- 2.11.4.GIT