replaysMike / Binner

Open source parts inventory system for makers, electronics hobby, and professional engineers
https://binner.io
GNU General Public License v3.0
268 stars 41 forks source link

[Bug]: Whitespace at the start/end of a part number fails to load the page. #190

Closed replaysMike closed 1 year ago

replaysMike commented 1 year ago

Binner version

v2.5.3

Operating System

Windows 10 x64

Describe the bug and the steps to reproduce it

As reported by @gandalfpensieve in Discord, a space at the end of a part number has some unusual side effects when trying to load the page (see attached images)

Should be an easy fix.

Would you like to attach your appsetings.json configuration?

No response

Screenshots or Videos (Optional, but they help!)

image

image

Are you able to contribute a PR? (No is ok!)

Yes, I am also opening a PR that solves the problem along side this issue