Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

URL parameter with XML not forwarding
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4159
Page 1 of 1

Author:  ljcremer [ 3. Oct 2016, 16:49 ]
Post subject:  URL parameter with XML not forwarding

Hi

I am trying to use URL forwarding and it seems to work until I have a complex paramater and then it seems to fail for some reason. The url I call looks like the following:
http://www.jengatec.co.za/get-asset-list/?initialize=%3CInitialValues%3E%3CVariable%20apiname=%27WordpressID%27%3E%3CValue%3E802%3C/Value%3E%3C/Variable%3E%3C/InitialValues%3E
Before the browser changes it the URL looks as follows:
http://www.jengatec.co.za/get-asset-list/?initialize=<InitialValues><Variable apiname='WordpressID'><Value>802</Value></Variable></InitialValues>

Can you perhaps tell me what I can try to get this to send the complete parameter?

Author:  TinyWebGallery [ 4. Oct 2016, 14:49 ]
Post subject:  Re: URL parameter with XML not forwarding

How is your configuration?
The browser does normally decode the parameters. so it would have to be encoded again.

Which version of advanced iframe do you have?

Best, Michael

Author:  ljcremer [ 4. Oct 2016, 16:55 ]
Post subject:  Re: URL parameter with XML not forwarding

Hi Michael

Yes, it is strange.

I use version Version 7.2.1 with the Customizr theme and WP Types.

Do you need any more information?

Thanks
Leonard

Author:  TinyWebGallery [ 4. Oct 2016, 17:17 ]
Post subject:  Re: URL parameter with XML not forwarding

where is this url? in the parent - Where is the forward?
You can try the bcc style [advanced_iframe]src[/advanced_iframe]
The src is between the tags.

so you need
http://www.jengatec.co.za/get-asset-list/?initialize=%3CInitialValues%3E%3CVariable%20apiname=%27WordpressID%27%3E%3CValue%3E802%3C/Value%3E%3C/Variable%3E%3C/InitialValues%3E
as result in the url of the iframe?

Best, Michael

Author:  ljcremer [ 5. Oct 2016, 07:10 ]
Post subject:  Re: URL parameter with XML not forwarding

Hi Michael

It is strange but it seems like it might be a Wordpress related issue. I created a basis PHP that just do the following:
<?php
echo $_SERVER['REQUEST_URI'];
?>

When I call the the page directly through the following URL:
http://www.jengatec.co.za/bringlocal/testurl.php/?initialize=<InitialValues>sdf</InitialValues>
I get the following output:
/bringlocal/testurl.php?testxml=%3CInitialValues%3E802%3C/InitialValues%3E

If I change the XML a little and call the following:
http://www.jengatec.co.za/bringlocal/testurl.php/?initialize=<InitialValues><value>sdf</value></InitialValues>
I get a Worpress page that says "Page not found"

Can you perhaps see if you see the same and if you know what it might be?

Thanks
Leonard

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/