Content
View differences
Updated by Oliver Günther over 2 years ago
### **Environment**:
Your OpenProject Version: 10.5.1
Operating System / Browser / Language:
Linux (Fedora 32) / Firefox 76, Chromium / PL
### **Logs**
No errors in openproject logs
### **Steps to reproduce:**
1. Create package that contains string foobar.
2. Search for fo\_bar
### **Actual Behavior**
The underscore is treated as a wildcard and matches the string "foobar"
### **Expected Behavior**
The string should not match
Original report, which is similar but not actually a bug:
> ### **Steps to reproduce:**
>
> 1. Create package that contains string with underscore in description ie.: c\_tree\_h . Save package.
> 2. Search c\_tree\_h in search form on top of page
>
>
### **Actual Behavior**
>
>
There is no matches for searching string 'c\_tree\_\_h\_'. But there are matches for 'tree', so searching is working.
>
>
### **Expected Behavior**
>
>
Matches with search string containing underscores
Your OpenProject Version: 10.5.1
Operating System / Browser / Language:
Linux (Fedora 32) / Firefox 76, Chromium / PL
### **Logs**
No errors in openproject logs
1. Create package that contains string foobar.
2. Search for fo\_bar
### **Actual Behavior**
The underscore is treated as a wildcard and matches the string "foobar"
### **Expected Behavior**
The string should not match
Original report, which is similar but not actually a bug:
> ### **Steps to reproduce:**
>
> 1. Create package that contains string with underscore in description ie.: c\_tree\_h . Save package.
> 2. Search c\_tree\_h in search form on top of page
>
>
>
>
>
>
>
>