Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 282629 Details for
Bug 378413
[patch] net-news/yarssr-0.2.2-r1: URL Handler fails to launch correct URL in web browser
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches the syntax for the URL open in the GUI.pm for yarssr-0.2.2
yarssr-0.2.2-url.patch (text/plain), 643 bytes, created by
godmachine (Lance Poore)
on 2011-08-08 22:09:12 UTC
(
hide
)
Description:
Patches the syntax for the URL open in the GUI.pm for yarssr-0.2.2
Filename:
MIME Type:
Creator:
godmachine (Lance Poore)
Created:
2011-08-08 22:09:12 UTC
Size:
643 bytes
patch
obsolete
>diff -urNad yarssr-0.2.2~/lib/Yarssr/GUI.pm yarssr-0.2.2/lib/Yarssr/GUI.pm >--- yarssr-0.2.2~/lib/Yarssr/GUI.pm 2007-10-31 12:40:08.000000000 +0100 >+++ yarssr-0.2.2/lib/Yarssr/GUI.pm 2007-10-31 12:42:17.958217449 +0100 >@@ -162,9 +162,15 @@ > ); > } > else { >- my $b = Yarssr::Config->get_browser; >- $b .= " \"$url\"" unless $b =~ s/\%s/"$url"/; >- exec($b) or warn "unable to launch browser\n"; >+ my @b = split(' ', Yarssr::Config->get_browser); >+ if (grep(/\%s/, @b)) >+ { >+ map {grep(s/\%s/$url/, $_) => $_} @b; >+ } >+ else { >+ push(@b, $url); >+ } >+ exec(@b) or warn "unable to launch browser\n"; > exit; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 378413
: 282629