[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #38244] Gnash uses a double-escaped URL to invoke xd

From: Nachanon Vetjasit
Subject: [Gnash-commit] [bug #38244] Gnash uses a double-escaped URL to invoke xdg-open
Date: Mon, 04 Feb 2013 06:18:07 +0000
User-agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.51


                 Summary: Gnash uses a double-escaped URL to invoke xdg-open
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Mon 04 Feb 2013 01:18:06 PM ICT
                Category: ActionScript
                Severity: 3 - Normal
                 Release: 0.8.10
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



I've visited homepage with Gnash 0.8.10 standalone.
The page was written entirely in Flash 8.
Aside from text issue in bug #38243, it displayed quite good.

But when I clicked the download link on "Watch the Film" section
of "There's no Tomorrow" film, the browser didn't pop up,
despite having xdg-utils installed.

This is an excerpt from output of "gnash -vv";

3166:1] 11202 DEBUG: get url: target=_blank,
method=0 (sendVars:0, loadTarget:0, loadVariable:0)
3166:1] 11202 NETWORK: getURL: HOSTFD is -1
3166:1] 11203 DEBUG: Launching URL: xdg-open
Error showing url: The location or file could not be found.

It shown that gnash have re-encoded the URL before giving it to xdg-open,
rendering it corrupt.

I think the correct behaviour is to pass URL as-is from getURL to xdg-open.
But it may need some sort of command line escaping to prevent injection.

Gnash: gnash_0.8.10-1~lenny from APT repository
System: Debian GNU/Linux 5.0 "Lenny" i386


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]