Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3788 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I was very happy because of this new script step but I can't use it since it's change a well formatted URL in something else automatically.

This is part of the url request correctly formatted (if I paste it in a browser or I use scriptmaster, it works)

(1) %09%2B393397186745%09Gentile%20Comandante%20Carlo%20Maaak%2c%0a%0asiamo%20felici….

this is how the Insert From URL Script Step submit it

(2) %09+393397186745%09Gentile%20Comandante%20Carlo%20Maaak,%0A%0Asiamo%20felici….

You may notice, for example, that

%2B that is a "+" correctly URL encoded in the url (1) is "+" in url (2)

%2c that is that is a "," correctly URL encoded in the url (1) is "," in url (2)

If you get into this problem, before wasting a lot of time as I did, I suggest to use the application "wire shark" to see the network traffic, thanks to this application I was able to get string (2)

(NB. It's to late to use the substitute function since it's the last step from FMP to the web server that receives the http requests.)

Any idea to solve the problem?

Thank You

Gianco

Posted

Have you tried the GetAsURLEncoded function?

  • 2 years later...
Posted

Have you tried the GetAsURLEncoded function?

 

Yes. He did. His URL (1) shows a properly-encoded %2B. What happens is that the script step silently UN-encoded that into a + when it is sent to the server. 

This topic is 3788 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.