Escape HTML in dynmap description setting

Fixed editing descriptions not properly checking for illegal characters
This commit is contained in:
William278 committed 2020-12-16 01:29:43 +00:00
1 parent 7fef9ea0f1
commit f1a1df6858
10 files changed
+44 -22

No files matched your search

+2 -2
View File
@@ -39,9 +39,9 @@ home_list_page_empty: '§7(There are no homes to list on this page)'
warp_list_page_top: '§aWarps: (§l%1%-%2%§r§a of §l%3%§r§a)'
warp_list_page_empty: '§7(There are no warps to list on this page)'
error_public_home_invalid: '§4Error: §cCould not find a public home owned by %1% called %2%.'
error_set_home_invalid_characters: '§4Error: §cHome names must be alphanumeric (A-Z, 0-9)'
error_set_home_invalid_characters: '§4Error: §cHome names must be alphanumeric (A-Z, 0-9, -_)'
error_set_home_invalid_length: '§4Error: §cHome names can only contain up to 16 characters!'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9)'
error_set_warp_invalid_characters: '§4Error: §cWarp names must be alphanumeric (A-Z,0-9, -_)'
error_set_warp_invalid_length: '§4Error: §cWarp names can only contain up to 16 characters!'
error_set_home_maximum_homes: '§4Error: §cYou can only set a maximum of %1% homes!'
error_insufficient_funds: '§4Error: §cYou do not have enough money! (Cost: %1%)'