https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27826 --- Comment #4 from David Nind <david@davidnind.com> --- Created attachment 197824 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197824&action=edit Bug 27826: Escape regexes when checking for new items in sco-main.tt Test plan: 1. In KTD, go to cgi-bin/koha/catalogue/detail.pl?biblionumber=11 2. Edit the item, set its biblionumber to "+12345" 3. Go to self-checkout at /cgi-bin/koha/sco/sco-main.pl, log in (42:koha) 4. Enter "+12345" into the "Scan a new item" input field, submit 5. Observe a crash 6. Apply patch 7. Refresh the page, observe no patch 8. Renew item, refresh a few times, to observe the "NEW" badge working as expected Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.