JonasDoebertin / kirby-visual-markdown

Visual Markdown Editor for Kirby CMS 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

414 Error in Browser when using long texts

Andi-Lo opened this issue · comments

Hello there,

my client encountered an error in this plugin when he want's to use it with a long text e.g. some data-privacy rules or large chunks of imprint text with ~8000 characters (if you try to reproduce).

This is what the error looks like:

http://example.com/panel/pages/datenschutz/2986…xt=&link=&text_align=left&csrf=81lBnk5FCbEW5TATMUeoPMzNDr4qteFz&_redirect= 
Failed to load resource: the server responded with a status of 414 (Request-URI Too Large)

Error message in Browser:

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.

So I guess you're passing all the content onto the url via a GET request and thus you exceed the max limit of characters an URI can have?
I am using this plugin in a structured field. Maybe this is also a cause of the problem

Thoughts? I'm not sure if this is related to your plugin or a kirby issue (I will test this)?

Update: I tested it with the standard kirby textarea and get the same error. So I guess it is not related to your plugin. Sorry :) . I referenced the issue in the kirby-panel