Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80949 Details for
Bug 102528
www-client/mozilla-firefox or www-client/mozilla-launcher can't open wired.com from rss
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible solution, needs revision.
mozilla-launcher-entities.patch (text/plain), 1.72 KB, created by
naquah
on 2006-02-28 10:58:36 UTC
(
hide
)
Description:
Possible solution, needs revision.
Filename:
MIME Type:
Creator:
naquah
Created:
2006-02-28 10:58:36 UTC
Size:
1.72 KB
patch
obsolete
>--- mozilla-launcher-old 2006-02-28 19:43:30.000000000 +0100 >+++ mozilla-launcher 2006-02-28 19:54:29.000000000 +0100 >@@ -299,27 +299,32 @@ > shift 1 ;; > esac > else >- if [[ $1 == *://*/* ]]; then >- urls=("${urls[@]}" "$1") >- elif [[ $1 == *://* ]]; then >+ url="$1" >+ url=${url//(/%28} >+ url=${url//)/%29} >+ url=${url//,/%2C} >+ >+ if [[ $url == *://*/* ]]; then >+ urls=("${urls[@]}" "$url") >+ elif [[ $url == *://* ]]; then > # as of mozilla_1.7_rc1 the url checking changed for xremote > # calls... now three slashes are required for urls, otherwise we > # get the following error from xremote: > # Error: Failed to send command: 509 internal error >- urls=("${urls[@]}" "$1/") >- elif [[ $1 != /* && -e $1 ]]; then >+ urls=("${urls[@]}" "$url/") >+ elif [[ $url != /* && -e $url ]]; then > # relative path to a file, transform to URL syntax >- urls=("${urls[@]}" "file://$PWD/$1") >- elif [[ $1 == /* && -e $1 ]]; then >+ urls=("${urls[@]}" "file://$PWD/$url") >+ elif [[ $url == /* && -e $url ]]; then > # absolute path to a file, transform to URL syntax >- urls=("${urls[@]}" "file://$1") >- elif [[ $1 != *:* && $1 == *@* ]]; then >+ urls=("${urls[@]}" "file://$url") >+ elif [[ $url != *:* && $url == *@* ]]; then > # looks like an email address, prefix with mailto: so we can > # recognize it later. >- urls=("${urls[@]}" "mailto:$1") >+ urls=("${urls[@]}" "mailto:$url") > else > # no idea what this is! just add it to urls and hope it works >- urls=("${urls[@]}" "$1") >+ urls=("${urls[@]}" "$url") > fi > shift > fi
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 102528
: 80949