bugGnash - The GNU Flash player - Bugs: bug #22257, loadMovie with GET/POST method...

 
 

bug #22257: loadMovie with GET/POST method sends the wrong variables

Submitter:  Sandro Santilli <strk>
Submitted:  Fri 08 Feb 2008 11:36:33 AM UTC
   
 
Category:  ActionScript Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 25 Oct 2008 08:31:23 AM UTC, comment #9: 

Well, the bug in the summary was fixed anyway, so let's close this...

Sandro Santilli <strk>
Group Member
  Spam posted by anonymous
  Spam posted by anonymous
  Spam posted by anonymous
  Spam posted by anonymous
  Spam posted by anonymous
Fri 14 Mar 2008 12:27:45 PM UTC, comment #3: 

I meant MovieClip.loadMovie is now implemented and sending
the correct variables...

To still test _level loading.
To still implement POST to window.

Sandro Santilli <strk>
Group Member
Wed 20 Feb 2008 02:47:49 PM UTC, comment #2: 

MovieClip.loadMovie is not implemented and send the correct
variables. NOT tested for _level loading.

We also need to fix GETURL with target load (and I guess with
window target too, which would include extending the browser-standalone program protocol to accept POST)

Sandro Santilli <strk>
Group Member
Fri 08 Feb 2008 11:40:32 AM UTC, comment #1: 

Actually, our loadMovie currently does NOT send the variables
at all, I was confused by the fact that the URL in my testing
contained a query string already.

Anwyay, when the URL contains a query string, movie variables
should be appended to it, not replace it.

See task #6097 for the bigger picture of missing
support for sending variables.

Sandro Santilli <strk>
Group Member
Fri 08 Feb 2008 11:36:33 AM UTC, original submission:  

When calling MovieClip.loadMovie with GET or POST method,
then removing the target movieclip and substituting it with
another one with same name, the expected behaviour is that
the variable sent are the ones of the old movie, not the one,
while the loaded resource will still replace the new one,
not the old movie.

This was tested with the MovieClip.loadMovie method, not
with the GETURL tag, so must test that as well.

To fix this, we'll need movie_root::loadMovie taking
not only a "method" argument, but the actual variables
to send. I added a TODO comment for this in the movie_root::loadMovie method description.

Making automated testing for this will require a running http,
not easy...

Sandro Santilli <strk>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-10-25 strk StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2008-07-09 strk Attached File#16045 Removed
    2008-07-09 None Attached File- Added get_apache_80x15_2.png, #16045
    2008-03-17 strk Dependencies- Depends on task #5919
    2008-02-20 strk StatusNone In Progress

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code