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

Display Issue Creating New Fieldset With Single Quote #13450

Closed
2 tasks done
tglassburn opened this issue Aug 14, 2023 · 2 comments
Closed
2 tasks done

Display Issue Creating New Fieldset With Single Quote #13450

tglassburn opened this issue Aug 14, 2023 · 2 comments

Comments

@tglassburn
Copy link

Debug mode

Describe the bug

When creating a new fieldset, if I put something with a single quote, it displays incorrectly after it's been created.

Instead of test' it will show test'

What I used:
test

Result:
result

Reproduction steps

  1. Create new custom field
  2. Put a single quote in name
  3. Watch output when created, it will replace single quote with '
    ...

Expected behavior

Should just have a single quote

Screenshots

No response

Snipe-IT Version

6.1.2

Operating System

Linux

Web Server

Apache

PHP Version

8.2

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

@welcome
Copy link

welcome bot commented Aug 14, 2023

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

snipe added a commit that referenced this issue Aug 14, 2023
…tom_fieldsets

Fixed #13450 - remove escaping on saveing new custom fields
@snipe snipe closed this as completed in 12e9d2a Aug 14, 2023
@snipe
Copy link
Owner

snipe commented Aug 14, 2023

This is now fixed on master

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