File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 77 parenthesis
88* fix #789: Avoid warning on commandline about possible confusion when reading quoted
99 configuration value including a dash from configuration file
10+ * fix #790: Fix server URL parsing when it doesn't include scheme
1011
1112inventory:
1213* Fix rare windows perl error during drives, ipv6 network or videos inventory
Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ sub _getCanonicalURL {
5050 $url -> scheme(' http' );
5151 # Eventually split on a slash to get host and path
5252 if ($string =~ m { ^([^/]+)[/](.*)$} ) {
53- $url -> host($1 );
54- $url -> path($2 // ' ' );
53+ my ($host , $path ) = ($1 , $2 );
54+ $url -> host($host );
55+ $url -> path($path // ' ' );
5556 } else {
5657 $url -> host($string );
5758 $url -> path(' ' );
You can’t perform that action at this time.
0 commit comments