aboutsummaryrefslogtreecommitdiff
path: root/lib/Apache/Inject.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Apache/Inject.pm')
-rw-r--r--lib/Apache/Inject.pm18
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm
index 09bf18a..89c0db8 100644
--- a/lib/Apache/Inject.pm
+++ b/lib/Apache/Inject.pm
@@ -180,6 +180,18 @@ file, as well as the contents of the C<InjectHeader> and C<InjectFooter>
files, concatenates them intelligently and prints their combined
contents.
+=head1 CAVEATS
+
+Apache::Inject::Handler uses regular expressions to determine the
+proper location of the injected header. It supports all valid HTML.
+However, it does not take into account that embedded CSS and
+JavaScript code can contain strings that look like valid opening
+and closing HTML tags.
+
+On FreeBSD, you may need to enable the accf_http kernel module in
+order for the tests to work. Note that Apache::Inject works fine
+without the module; it is only the tests that require it.
+
=head1 DIAGNOSTICS
Apache::Inject and Apache::Inject::Handler log all errors and
@@ -220,12 +232,6 @@ cannot retrieve the current document root from Apache.
=back
-=head1 CAVEATS
-
-On FreeBSD, you may need to enable the accf_http kernel module in
-order for the tests to work. Note that Apache::Inject works fine
-without the module; it is only the tests that require it.
-
=head1 AUTHOR
John Ankarström, E<lt>john [at] ankarstrom.seE<gt>