Unescaped front forward slashes cause truncation of search string for reports
If you search for "/test" on admin or user reports, reason or message text, the string will be changed to "/tes". I had this problem before with chat logs searching (#63 (closed)) but I fixed it without realizing it.
This is silently truncated with no warning in the console. In the params hash, it is correct, but when it is executed as SQL, it has been truncated. I've taken a brief look at the code and nothing jumps out at me, so I'll have to take an in depth look at this for 0.8.8.
-
Investigate root cause -
Fix bug -
Write tests for it
Edited by Luna Lucadou