fixed SCRIPT_NAME with a session variable from $r->uri
This commit is contained in:
parent
dc66860d6f
commit
5ee8369c5e
9 changed files with 26 additions and 25 deletions
|
|
@ -1083,7 +1083,7 @@ A specific revision to instanciate. By default we instanciate the newest publish
|
|||
|
||||
sub newByUrl {
|
||||
my $class = shift;
|
||||
my $url = shift || $session{env}{SCRIPT_NAME};
|
||||
my $url = shift || $session{wguri};
|
||||
my $revisionDate = shift;
|
||||
$url = lc($url);
|
||||
$url =~ s/\/$//;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue