Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 4926

Summary: bad use of "/" character not checked
Product: [Retired] Red Hat Linux Reporter: tengel
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-16 16:09:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tengel 1999-09-05 17:16:38 UTC
Illegal/accidental use of the "/" character is not checked
in the Version: tag (and possibly others) when RPM reads the
spec file, causing it to fail later in the build process.
Should be changed to check just like "-" is already checked

Comment 1 Jeff Johnson 1999-12-16 16:09:59 UTC
The current design of rpm says
	Everything but '-' is permitted in version/release.
even though, as we both know, certain characters like "%/$:.! \t\r\n" are
bound to produce surprises when version is evaluated in different contexts.
Without a more explicit definition of what is permitted in version/release,
it's impossible to implement a better check than is what already implemented.