BoostIO/Boostnote

[Bug Report] Compromized tag due to special character #2188

modmod24 posted onGitHub

Current behavior

Tags containing "/" character can be created. They appear in the list of tags, displayed in the note itself and in the "Tags". However, the tag is not clickable. On clicking on the tag corresponding notes are not listed.

boostnote_bugtags

<!-- Please paste some screenshots with the developer tool open (console tab) when you report a bug. If your issue is regarding boostnote mobile, move to https://github.com/BoostIO/boostnote-mobile. -->

Expected behavior

Offending characters should be truncated, I think. There may be more character causing unexpected behaviour.

Steps to reproduce

  1. Create a new note
  2. add a tag: 'this/is/a/test
  3. open "Tags" list
  4. find the created tag and select it (left-click)

Environment

  • Version : 0.11.6
  • OS Version and name : 16.04.4 Ubuntu

<!-- Love Boostnote? Please consider supporting us on IssueHunt: šŸ‘‰ https://issuehunt.io/repos/53266139 -->


Fund this Issue

$30.00
Rewarded

Rewarded pull request

Recent activities

daiyam submitted an output to  BoostIo/ Boostnote# 2188
over 6 years ago
daiyam was rewarded by kazup01 for BoostIo/Boostnote# 2188
over 6 years ago