soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
315 stars 29 forks source link

Saving anything will create a post of over 300MB #3532

Open realtebo opened 4 months ago

realtebo commented 4 months ago

When saving a page, oxygen are sending an ajax call like the following

curl --location --request POST 'https://www.mywebsite.net.it/?action=ct_save_components_tree&ct_inner=true&nonce=1cbe6d9df1&post_id=480' \ --header 'accept: application/json, text/plain, /' \ --header 'accept-language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7' \ --header 'content-length: 327232764' \ --header 'content-type: application/json;charset=UTF-8' \ --header 'origin: https://www.mywebsite.it/' \ --header 'priority: u=1, i' \ --header 'referer: https://www.mywebsite.it/?ct_builder=true&ct_inner=true&oxygen_iframe=true' \ --header 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \ --header 'sec-ch-ua-mobile: ?0' \ --header 'sec-ch-ua-platform: "Windows"' \ --header 'sec-fetch-dest: empty' \ --header 'sec-fetch-mode: cors' \ --header 'sec-fetch-site: same-origin' \ --header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36'

Please note:

 --header 'content-length: 327232764' \

This causes infinite awaiting time from webserver.

Kpudlo commented 4 months ago

Hello,

To further understand the issue you're having, please open a Support Ticket (https://oxygenbuilder.com/support), and provide a staging environment where we can see the problem. We'll be glad to assist further. If you can also include a link to this discussion in that ticket, that would be appreciated.