ucldc / rikolti

calisphere harvester 2.0
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Search errors out with some special characters entered into the search bar #951

Closed christinklez closed 5 months ago

christinklez commented 6 months ago

Errors

These characters result in error on -stage (passes on -prod): Note: All break when each character is queried individually. Observe varied results when queried within a phrase. individual character (breaks) phrase that errors phrase that passes
\ \untitled\ (made up this phrase) \5 (made up this phrase)
[ [Taped down panorama] and [Title, Date] --
] same as above --
{ {untitled} (made up this phrase) --
} same as above --
+ +5 (made up this phrase) --
~ ~5 (made up this phrase) --
^ ^t (made up this phrase) --
/ Г.Г/Бут and image/jpeg and song / words ark:/81235/d8886f
( -- (Box 3, Folder 4). and (title unknown)
) -- same as above
# -- #1
- (hyphen) -- horse-drawn
<#> <br> --

Passes

Seem to not break -stage (and includes results): ? : " (straight quotes) ,(comma) (backtick) *

Seems to not break -stage (but no results): . < > ; ' (apostrophe) | (em dash) _(underscore) = ! @ $ % & (curly quotes, open) (curly quotes, close)

Actual search queries

More search queries, non-English:

christinklez commented 6 months ago

@aturner -- I took a crack at searching a variety of all the characters that appear on the keyboard. When you have a moment, please feel free to take a glance through this and let me know if there are other characters we should test out. Thank you!

christinklez commented 5 months ago

I searched all the characters & phrases that previously error'd out. These are all working great. Thank you @barbarahui!