Summary: | flash-plugin: getURL with POST does not work | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Thomas Friedrichsmeier <thomas.friedrichsmeier> |
Component: | nspluginviewer | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Testcase of failing POST in a flash-movie |
Description
Thomas Friedrichsmeier
2003-09-26 01:47:50 UTC
POST works for me, so please provide an example that does not work. Created attachment 2588 [details]
Testcase of failing POST in a flash-movie
Unpack this in a directory on a PHP-enabled web-server. Then point your browser
to the post.swf -movie in that directory on the server. You should be
immediately redirected to the post.php -script, which will either show "The
problem is reproducible" (Konqueror 3.1.3) or "The problem is not reproducible"
(Mozilla 1.4).
The flash-movie contains nothing but the following Actionscript in the first
Frame:
stop ();
_root.test = "not ";
_root.getUrl ("post.php", "_top", "POST");
The php-script basically just echoes $HTTP_POST_VARS['test']. The problem can
also be seen in the web-servers access-log, which shows a GET for konqueror but
a POST for Mozilla.
Ok I have it doing POST now, but the data is coming through incorrect. Once this is fixed I will commit. Subject: kdebase/nsplugins CVS commit by staikos: Get more types of POST working with nsplugins. CCMAIL: 64951-done@bugs.kde.org M +1 -0 NSPluginCallbackIface.h 1.9 M +23 -1 plugin_part.cpp 1.51 M +2 -0 plugin_part.h 1.25 M +8 -3 viewer/nsplugin.cpp 1.103 |