You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I encountered a strange bug on Windows. when I call callFmpURL and the param includes an "&" character, filemaker doesn't receive the whole parameter. It stops at the & character. In my test this url yields the following script parameters in filemaker:
The url reported by fmajax: fmp://$/WillingCalendar_Dev_103?script=wCal%3A%20Handle%20Click¶m=%7B%22title%22%3A%22the%20boy%20%26%20the%20basketball%22%7D
On Windows: {"title":"the boy
On Mac: {"title":"the boy & the basketball"}
If I then paste the exact same url in my Internet Explorer browser, Filemaker receives the correct parameter.
Is this because the & is used to separate the url get params like url?param=abc&x=def&y=ghi ?
The text was updated successfully, but these errors were encountered:
Update: after playing with it, I found that for Windows, wrapping the url generated in callFmpURL() like encodeURI(url) fixed problem. However, that breaks the function for mac. I'm not really sure the best way to approach this discrepancy, but thought I'd share.
Hey, I encountered a strange bug on Windows. when I call callFmpURL and the param includes an "&" character, filemaker doesn't receive the whole parameter. It stops at the & character. In my test this url yields the following script parameters in filemaker:
The url reported by fmajax: fmp://$/WillingCalendar_Dev_103?script=wCal%3A%20Handle%20Click¶m=%7B%22title%22%3A%22the%20boy%20%26%20the%20basketball%22%7D
On Windows: {"title":"the boy
On Mac: {"title":"the boy & the basketball"}
If I then paste the exact same url in my Internet Explorer browser, Filemaker receives the correct parameter.
Is this because the & is used to separate the url get params like url?param=abc&x=def&y=ghi ?
The text was updated successfully, but these errors were encountered: