For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

pagefile

Strips leading slashes and dots.

Example

[filter pagefile]../../etc/passwd[/filter]

Results in:

etc/passwd

Source code

sub {
    $_[0] =~ s:^[./]+::;
    return $_[0];
}

Category:  Filters
Last modified by: Kevin Walsh
Modification date: Saturday 17 June 2006 at 4:32 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us