I've been using Mathematica for a few years, and today decided to have a first play with the Wolfram Cloud, to get a feel for how to deploy a function.
I set up a very basic function that, when called via its url with the correct parameters, should interpret the argument as a Wolfram Language expression, and return it:
When called, this mainly seems to work, returning an association with the evaluated expression, e.g
<|"p" -> Tan[x]|>
as I would expect from Mathematica. Similarly, attaching "p=Cos[Pi]" to the url returns <|"p"-> -1|>, for example.
But there seems to be a bug where "+" is interpreted as "*". So calling
<|"p" -> 6|>
I have tried this with quite a few expressions, both in Firefox on a thin client PC, and Chrome on my Android phone, and the behaviour is consistent. However, calling the url with "p=Plus[2,3]", for example, returns the correct result. Also using
in the cloud notebook returns
Could this be a bug with the way "+" is interpreted when in an url, or am I doing something daft?