juek / CustomSections

Developer plugin for rapid prototyping of custom section types in Typesetter CMS
GNU General Public License v2.0
3 stars 7 forks source link

Fix HTTP Error 414 Request URI too long #15

Closed a2exfr closed 7 years ago

a2exfr commented 7 years ago

Fix HTTP Error 414 Request URI too long

a2exfr commented 7 years ago

When using ck-editor field with a little bit longer info, I get this error.

This is 100% working fix.

juek commented 7 years ago

I already thought we might run into this with larger content. Have you considered to use $gp.postC()?

(edit: I used this in SectionClipboard.js, line 126+ )

a2exfr commented 7 years ago

Lol. Have no idea it exists. I definitely have to look more in TS js files. it's minified and ... May be merge this and I try to rewrite with gp.postC later?

juek commented 7 years ago

I will merge but have conflicts with my current local base. So please be patient- it may take 1 hour or 2 (says me LOL... it will take at least 3).

juek commented 7 years ago

it's minified and ...

Always good to look up stuff on GitHub. Would have saved me some 100 hours if I would have started earlier doing so.

juek commented 7 years ago

I changed updateSection to always post using $gp.postC(), see commit