G
G
geniusoff2015-12-09 12:30:27
Classmates
geniusoff, 2015-12-09 12:30:27

How to get upload_url via photosV2.getUploadUrl as https link?

The photosV2.getUploadUrl method, which returns the url for uploading a photo. All ODCL applications are required to switch to https, but at the same time, when upload_url is requested, photosV2.getUploadUrl returns it as up.mycdn.me/uploadImage? , i.e. loading should happen on http with https. Therefore, we get the error Content: The page at ' https://********** ' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ' up.mycdn.me/uploadImage?****** '. This request has been blocked; the content must be served over HTTPS.
The up.mycdn.me domain doesn't even have a valid SSL certificate. What are the options for resolving this issue? Wouldn't it be more logical to return the link to the same protocol by which the application was loaded in the iframe? This is a critical bug, because how it breaks all functionality.?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question