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

Config editor breaking configurations #205

Open
minthost opened this issue Mar 12, 2013 · 2 comments
Open

Config editor breaking configurations #205

minthost opened this issue Mar 12, 2013 · 2 comments

Comments

@minthost
Copy link

Location: Control panel, Plugins Section, Plugin configuration
Browser: Chrome
Webserver: Apache 2
SpaceBukkit version: 1.2.1
Minecraft Server: Regular, recommended Bukkit
OS (Web):Apache 2.2, Debian Squeeze

SpaceModule #81
RTK R10 14.5

It turns 'special characters', an apostrophe for example, into some weird character code. Like, if I make changes in plugin configuration, make prefix "[&aGuest&f]" for example, it turns it to ?quot;[?amp;aGuest?amp;f]?quot; and saves it that way. Also, it replaces ALL of these special characters (slashes included) into weird combinations and saves them, whis is breaking the configuration file, so it makes that editor unusuable.

Note: I replaced & characters with ?, cause GitHub automatically showed the right form, [&aGuest&f], instead of combinations what is shown in configuration editor.

@tyteen4a03
Copy link

That would be some escaping function escaping that field. Possibly Cake-related but I'm not sure.

@Antariano
Copy link
Contributor

This should be easy enough to fix by modifying the spacebukkit php api to not escape inputs if a boolean is set to true.

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

3 participants