Bug 17482 - getURLs sent from Flash (authoring program) end up having %00 appended to them
Summary: getURLs sent from Flash (authoring program) end up having %00 appended to them
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (PowerPC) OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 19904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-21 16:01 PST by michael geary
Modified: 2008-10-23 11:20 PDT (History)
7 users (show)

See Also:


Attachments
repro file (42.50 KB, application/octet-stream)
2008-02-27 13:04 PST, michael geary
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael geary 2008-02-21 16:01:26 PST
the issue is when you are testing a swf in Flash (i'm using Flash CS3), and you issue a getURL() command (within Flash). WebKit is my default browser, and when the url loads, it invariably has "%00" appended to it. This does not happen when the getURL is coming from an embedded SWF file, only when viewing it in Flash.
Comment 1 Mark Rowe (bdash) 2008-02-21 19:17:27 PST
Can you please provide a test case that can be used to reproduce the issue?
Comment 2 michael geary 2008-02-27 13:04:26 PST
Created attachment 19405 [details]
repro file

(In reply to comment #1)
> Can you please provide a test case that can be used to reproduce the issue?
> 

you need to have flash, since this only seems to happen when testing from within Flash. If you have flash, download the attached file and Preview it, and then click on the shape on the stage. It will open your default browser (mine's WebKit), and go to "http://www.apple.com/%00"
Comment 3 michael geary 2008-02-27 21:36:15 PST
per a brief conversation on irc, this issue appears to be related to the hack used to launch WebKit.app. If i launch Safari with this command:

DYLD_FRAMEWORK_PATH=/path/to/WebKit.app/Contents/Frameworks/10.5 /Applications/Safari.app/Contents/MacOS/Safari

and then set Safari to be the default browser and try to reproduce the problem it is gone. Safari launches the URL from Flash just fine.
Comment 4 Marcus Benjamin 2008-06-03 17:47:12 PDT
All of the Adobe AIR applications I use append this %00 to every URL link.
Twitteriffic does NOT do this. 
Twhirl for Twitter does this.
Pownce desktop client does it also.

Please fix.
Comment 5 Alexey Proskuryakov 2008-07-06 07:16:28 PDT
*** Bug 19904 has been marked as a duplicate of this bug. ***
Comment 6 Dan Bedford 2008-10-21 12:27:29 PDT
I can confirm this bug.  I even checked with Adobe's Media Player AIR app since it's made by Adobe themselves.  Click on any link that opens your default browser from an AIR app, and the URL will have a %00 appended to the end.
Comment 7 Mihnea Ovidenie 2008-10-23 03:14:00 PDT
(In reply to comment #6)
> I can confirm this bug.  I even checked with Adobe's Media Player AIR app since
> it's made by Adobe themselves.  Click on any link that opens your default
> browser from an AIR app, and the URL will have a %00 appended to the end.
> 

Hello,
Can you please tell what version of AMP and AIR you were using? On what link did you click so that it reproduced the problem?
Thx and regards,
Mihnea
Comment 8 Dan Bedford 2008-10-23 03:37:53 PDT
(In reply to comment #7)
> (In reply to comment #6)
> > I can confirm this bug.  I even checked with Adobe's Media Player AIR app since
> > it's made by Adobe themselves.  Click on any link that opens your default
> > browser from an AIR app, and the URL will have a %00 appended to the end.
> > 
> 
> Hello,
> Can you please tell what version of AMP and AIR you were using? On what link
> did you click so that it reproduced the problem?
> Thx and regards,
> Mihnea
> 

Here are the versions:
AIR 1.1
AMP 1.1 build 434209

As far as I can tell, any link from within AMP that opens a browser will reproduce the problem, as long as the browser it opens in is WebKit.  I'll give a specific example to be sure:

Open AMP, and then click on a show in the bottom left section.  In this test I am clicking on the "Eleventh Hour - Clips" link/show.  The interface changes and then a list of shows are on the left, with the list of episodes on the right.  The section with the episodes also has an "Info" tab.  Click on the Info tab and that shows info about the show.  The icon for the show in this section has a link for the show's homepage on the web and thus will open your default browser when clicked.  If WebKit is your default, then the URL will have %00 appended and the website will 404.

Thanks for checking this out Mihnea!
Comment 9 Mihnea Ovidenie 2008-10-23 08:16:10 PDT
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > I can confirm this bug.  I even checked with Adobe's Media Player AIR app since
> > > it's made by Adobe themselves.  Click on any link that opens your default
> > > browser from an AIR app, and the URL will have a %00 appended to the end.
> > > 
> > 
> > Hello,
> > Can you please tell what version of AMP and AIR you were using? On what link
> > did you click so that it reproduced the problem?
> > Thx and regards,
> > Mihnea
> > 
> 
> Here are the versions:
> AIR 1.1
> AMP 1.1 build 434209
> 
> As far as I can tell, any link from within AMP that opens a browser will
> reproduce the problem, as long as the browser it opens in is WebKit.  I'll give
> a specific example to be sure:
> 
> Open AMP, and then click on a show in the bottom left section.  In this test I
> am clicking on the "Eleventh Hour - Clips" link/show.  The interface changes
> and then a list of shows are on the left, with the list of episodes on the
> right.  The section with the episodes also has an "Info" tab.  Click on the
> Info tab and that shows info about the show.  The icon for the show in this
> section has a link for the show's homepage on the web and thus will open your
> default browser when clicked.  If WebKit is your default, then the URL will
> have %00 appended and the website will 404.
> 
> Thanks for checking this out Mihnea!
> 

Hello,
This is a problem that was identified and fixed in AIR. The next release version will contain the fix for this issue.
Hope that helps,
Regards,
Mihnea
Comment 10 Alexey Proskuryakov 2008-10-23 11:20:02 PDT
Marking as INVALID per the above comment as a non-WebKit issue. Thanks!