DependencyTrack / DependencyTrack/dependency-track
Search by tag does not support slash
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
- Create a projet with a tag containing `/` character
- Found in the fulltext search

- Found with tag `ok`: `/projects/?tag=ok`
- **Not** found with tag `fa/il`: `/projects/?tag=fa%2Fil`
- No matching records found
### Steps to Reproduce
1. Create a projet with a tag containing `/` character
2. Click on the tag name
3. `/api/v1/project/tag/fa%2Fil?excludeInactive=true&onlyRoot=true&searchText=&pageSize=25&pageNumber=1`
- Returns 500 error
### Expected Behavior
`/api/v1/project/tag/fa%2Fil` returns 200 with found projects
### Dependency-Track Version
4.8.0
### Dependency-Track Distribution
Container Image
### Database Server
PostgreSQL
### Database Server Version
15.2 (postgres:latest)
### Browser
Mozilla Firefox
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.