opnsense-ports/deskutils/shutter/files/patch-CVE-2015-0854
Franco Fichtner 73ff9dc059 */*: sync with upstream
Taken from: FreeBSD
2015-10-02 07:30:26 +02:00

12 lines
481 B
Text

--- share/shutter/resources/modules/Shutter/App/HelperFunctions.pm.orig 2015-09-17 16:09:58 UTC
+++ share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
@@ -53,7 +53,8 @@ sub new {
sub xdg_open {
my ( $self, $dialog, $link, $user_data ) = @_;
- system("xdg-open $link");
+ my @args = ("xdg-open", "$link");
+ system(@args);
if($?){
my $response = $self->{_dialogs}->dlg_error_message(
sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),