Web: Encoding URL in data

Adding posts fail if the URL in post data has special chars
Now using encodeURIcomponent for ipURL before sending it in HTTP data