Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting HTML into WebEditor causes exception #1231

Open
alexwarren opened this issue Nov 23, 2024 · 1 comment
Open

Pasting HTML into WebEditor causes exception #1231

alexwarren opened this issue Nov 23, 2024 · 1 comment

Comments

@alexwarren
Copy link
Contributor

This error occurred on ActiveLit, and the user reports the game being corrupted afterwards.

It sounds like pasting HTML into an editor box causes issues:

Error in http://quest.activelit.com/Edit/SaveElement: A potentially dangerous Request.Form value was detected from the client (_additionalAction="...wset look;<!doctype html>
<ht...").
@KVonGit
Copy link
Collaborator

KVonGit commented Nov 23, 2024

This pasted into a room description causes no errors:

<!doctype html><html><body><b>Hello</b> world!</body></html>

image


Pasting <!doctype html> directly into code view only tells me an internal error occurred (as normal with <).

image


image


image


image


image


image


I can use it as an alias and everything works (although the link is the actual HTML code, haha).

image


image


image


image


image


image


I can't reproduce this. How'd they do that?


I couldn't even break it with this (just got the normal "internal error" message and everything reloaded and works):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants