Skip to content

[Bug]: In some cases backslashes in maintenance notes are escaped for no reason #17960

@tomaszszkudlarek

Description

@tomaszszkudlarek

Snipe-IT Version

v8.2.1 - build 19068 (master)

PHP Version

Hosted

Composer Version

Hosted

MySQL/MariaDB version

Cloud

How did you install Snipe-IT?

Hosted by Grokability

Is this a fresh install or an upgrade?

NA

What happened?

When a string is registered in the notes like that:
"\commvaul..."
After registering, in the view mode of the maintenance only one backslash is shown:

Image

What browsers are you seeing the problem on?

Firefox

Can you reproduce this on the public demo?

Yes

Do you have full multiple company support enabled?

Yes

If you have full multiple company support enabled, do you have location scoping to company enabled?

Yes

Application log output

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions