Bug 827634
| Summary: | Unable to enter a Drift Detection Definition Base Directory fileSystem path that contains parenthesis | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
| Component: | Core UI, drift | Assignee: | Jay Shaughnessy <jshaughn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.4 | CC: | hrupp, jshaughn |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.5.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 827633 | Environment: |
JON 3.0.1 and JON 3.1.0.Beta1
Tested in Linux
|
| Last Closed: | 2013-09-01 10:01:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 827633 | ||
|
Description
Larry O'Leary
2012-06-01 22:28:26 UTC
I have a bad feeling about this due to the fact that parens are meaningful in the underlying regex stuff. I'll take a look... Escaping the input for the regex is the safest thing to do. This user input should be treated the same as user input being used in a database query. I thought the Java regex utility included a utility to escape input for the regex but perhaps I am thinking of another library. master commit db072ef663ee9d9e276971e1cce9021e26cafef5 - Add support for Windows allowance of parentheses in directory names. Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |