snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Asset Name Escaping

Open maxovitsj opened this issue 6 years ago • 2 comments

Please confirm you have done the following before posting your bug report:

Describe the bug When using characters such as: ", in the Asset Name field when creating a new Asset, it gets URL escaped. See attached screenshot

To Reproduce Steps to reproduce the behavior:

  1. Create a new Asset with " in the Asset Name field

Expected behavior " should be un-escaped on display to the end user

Screenshots image

Server (please complete the following information):

  • Snipe-IT Version: v5.0.9 build 5616 (973eacf6c3)
  • OS: Ubuntu / Docker (snipe/snipe-it:latest)
  • Web Server: Apache
  • PHP Version: 7.2.24-0ubuntu0.18.04.7

Additional context

  • Is this a fresh install or an upgrade? Fresh install (pulled docker image)
  • What OS and web server you're running Snipe-IT on: Ubuntu / Docker
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Docker
  • Include what you've done so far in the installation, and if you got any error messages along the way: Default installation
  • Indicate whether or not you've manually edited any data directly in the database: No

Add any other context about the problem here.

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

maxovitsj avatar Nov 30 '20 13:11 maxovitsj

Where are you seeing this? I'm unable to reproduce it on the demo.

Screen Shot 2020-11-30 at 5 52 05 PM Screen Shot 2020-11-30 at 5 52 15 PM

https://demo.snipeitapp.com/hardware/1383

snipe avatar Dec 01 '20 01:12 snipe

Hi there - We haven't heard back in a bit, so I'm going to close this ticket for now, but will re-open it if you're still having issues.

hackerman-hacking

snipe avatar Dec 12 '24 17:12 snipe