N
N
Novomir Lobanov2016-07-19 15:00:14
API
Novomir Lobanov, 2016-07-19 15:00:14

How to escape-process a link before passing it through curl?

Good afternoon. In one of the fields in amo we pass the source link. A simple link like http://site.rf/ passes without problems, but if I pass the same link, but with utm tags ( http://site.rf/?utm_source=Yandex&utm_medium=rsya&... 400 Bad Request error is generated Perhaps such a
string needs to be escaped-processed somehow before transmission?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sharomet, 2016-07-19
@sharomet

Functionsurlencode, decodeuri

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question