Malcolm

Malformed CWP Script Call Returns Random Record instead of an Error

Discussion created by Malcolm on Nov 3, 2015
Latest reply on Nov 3, 2015 by Malcolm

Product and version (e.g. FileMaker Pro 14.0.3)

FMS 14.0.3.302

FileMaker PHP API Standalone version shipped with the server.

 

OS and version

Windows Server 2008

 

Description

Calling a script with an empty script parameter returns a random record from the specified table

 

Running Script with these Parameters

script =

protocol = https

host = xxx

uname = webtest

pwd = webtest

db = TestAssets

layout = Site Details | Web

parameter =

run_script = Submit

 

Expected Result

An error should be returned as the script parameter is empty.

 

Actual Result

A random record is returned

 

How to replicate

Write a PHP script which will connect to a database layout to run a script. Leave the script name empty.

 

Workaround (if any)

No known workaround

Outcomes