Skip Menu |

This queue is for tickets about the Browser-Open CPAN distribution.

Report information
The Basics
Id: 117917
Status: resolved
Priority: 0/
Queue: Browser-Open

People
Owner: melo [...] cpan.org
Requestors: IBRAUN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



Subject: Ampersands have to be escaped with Windows' start command
The ampersand is used to separate commands on Windows. Therefore $url = "http://www.example.com?key1=val1&key2=val2"; system("start $url"); does start http://www.example.com?key1=val1 key2=val2 which usually leads to a "command not found" error. Escape the ampersand with ^ and it works as intended: $url =~ s/&/^&/g; system("start $url"); # ok!
Fixed in d934154f51895bee6 Thanks!