aboutsummaryrefslogtreecommitdiff
path: root/lib/Apache/Inject/Handler.pm
AgeCommit message (Collapse)Author
2021-04-26Use filter instead of handlerroot
This makes it work for HTML content that has already been processed, e.g., by PHP. This change was delightfully easy to make.
2021-04-26Fix regex bug, support HTML commentsroot
I added \s* after <body> to match any potential newline (and, for good measure, whitespace) after <body>. One would usually rather have this: <body> My header than this: <body>My header
2021-04-26Use single hyphen for NULL value, allow the user to specify itroot
This lets the user inject a footer without injecting a header.
2021-04-25Change formattingroot
2021-04-25Optimize regexroot
by arranging the alternatives in the order of their likeliness to occur.
2021-04-25Skip tests if run as rootroot
Otherwise, I suspect App::Cpan will not be able to install the module without workarounds on the part of the user.
2021-04-24Correct minimum Perl version (5.10.0)root
2021-04-24Fix bug when second argument is absent, improve documentationroot
Before, the InjectFoot variable wasn't cleared.
2021-04-24Re-arrange source coderoot
2021-04-24Expand documentationroot
2021-04-23Add documentationroot
2021-04-23Log errors via the Apache log APIroot
2021-04-23Change directory structureroot