Topic: [Bug/NOT A BUG/BUT AMUSING] Backslashes partially ignored in single-term searches

Bug overview description.

If backslashes are included anywhere in a single search term, the term itself will be used for searching, but the number of pages returned will correspond to the term without backslashes. This does not occur if more than one term is used while searching, but does work even if an alias is involved.

What part(s) of the site page(s) are affected?

Searching

What is the expected behavior?

The page count to match the number of pictures returned.

What actual behavior is given instead?

The number of pictures returned being zero, but there being multiple pages anyway.

Time of incident (if applicable).

N/A

Can you reproduce the bug every time?

Yes.

What steps did you take to replicate this bug?

Search for anything using a single term, filled with as many backspaces as you want anywhere.

Example:

ca\nin\e_pu\ssy vs canine_pussy (note the same pagecounts)

Note that the effect persists even with chains of backslashes, but I can't demonstrate that as above because other weird stuff happens.

Example:

c\\an\\\ine_\\\p\\uss\\\y

Note if you copypaste this manually into the search bar, it will still show the effect.

Errors or other messages returned (if any).

N/A

Updated