mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 19:01:16 +00:00
ticket: normalize path for verification
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
3760a33cc8
commit
06b4a3b381
@ -507,6 +507,8 @@ my $assemble_short_lived_ticket = sub {
|
|||||||
my $verify_short_lived_ticket = sub {
|
my $verify_short_lived_ticket = sub {
|
||||||
my ($ticket, $prefix, $username, $path, $noerr) = @_;
|
my ($ticket, $prefix, $username, $path, $noerr) = @_;
|
||||||
|
|
||||||
|
$path = normalize_path($path);
|
||||||
|
|
||||||
my $secret_data = "$username:$path";
|
my $secret_data = "$username:$path";
|
||||||
|
|
||||||
my ($rsa_pub, $rsa_mtime) = get_pubkey();
|
my ($rsa_pub, $rsa_mtime) = get_pubkey();
|
||||||
|
Loading…
Reference in New Issue
Block a user