Changeset 259


Ignore:
Timestamp:
Jun 25, 2018, 9:46:37 PM (2 years ago)
Author:
g7moreau
Message:
  • error on path
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nagios-velvice/velvice.cgi

    r258 r259  
    1515use strict;
    1616use warnings;
    17 use version; our $VERSION = version->declare('0.6.3');
     17use version; our $VERSION = version->declare('0.6.4');
    1818
    1919use CGI;
     
    2727my $cgi_check       = uri_decode($query->param('check'));
    2828my $cgi_script_name = $query->script_name();
    29 my $cgi_path        = $cgi_script_name =~ s{/$cgi_script_name$}{}r;
     29my $cgi_path        = $cgi_script_name =~ s{/[^/]\.cgi$}{}r;
    3030
    3131my $config = {};
Note: See TracChangeset for help on using the changeset viewer.