bugGnash - The GNU Flash player - Bugs: bug #19246, gnash doesn't parse parameters...

 
 

bug #19246: gnash doesn't parse parameters that are part of the URL

Submitted by:  None
Submitted on:  Thu 08 Mar 2007 06:23:45 PM UTC  
 
Category: pluginSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 28 Mar 2007 09:14:04 AM UTC, comment #5:

Also implemented for sprite_instance::loadMovie() now.
It's used by both MovieCLip.loadMovie() and MovieClipLoader.loadClip().

Some other call might be missing, but should be easy to
add whenever we find that out.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 28 Mar 2007 08:34:20 AM UTC, comment #4:

I committed an implementation for this in Player.cpp.
This gets the initialization order correctly, but of course
won't work when loading a movie outside of Player.cpp
(ie: not from command line).

I guess query-string only would be good for internal
loads. I was about to implement query-string only
implementation for all cases but if I did that the
order of initialization would have been wrong.

We need more testcases for internal loads for this.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 28 Mar 2007 07:39:38 AM UTC, comment #3:

Made some test.. in case of both FlashVars and a query string
being defined, the query string takes precedence, so if we define:

a == both with FlashVars and query string
q == only with query string
v == only with FlashVars

We get:

a = From query string
q = From query string
v = From FlashVars

All variables are set as members of the _root movie.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 10 Mar 2007 01:23:52 PM UTC, comment #2:

Worth mentioning.. someone pointed out that this might also happen in loadMovie requests (or MovieClipLoader.loadClip, or getURL, or whatever other loading mechanism exists)...
THis must also be confirmed to correctly handle this.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 08 Mar 2007 10:17:31 PM UTC, comment #1:

I confirm this is what happens with LNX 7,0,25,0 with SWF from 5 to 7 (8 untested, other players untested).

Should be investigated what happens when there a parameter name clas with the ones passed trough the FlashParams attribute of the embed tag (or whatever it is).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 08 Mar 2007 06:23:45 PM UTC, original submission:

when invoking gnash with a URL such as /demo.swf?P1=a&P2=2 these parameters should end up at _root.P1 and _root.P2.

anderson

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Mar 2007 10:07:32 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Mar 2007 09:14:04 AM UTCstrkStatusIn Progress=>Ready For Test
    Wed 28 Mar 2007 07:53:34 AM UTCstrkStatusConfirmed=>In Progress
      Assigned toNone=>strk
    Thu 08 Mar 2007 10:17:31 PM UTCstrkStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1