Actions
Bug #20670
closedSCAP CLI has no max length limit for original-filename parameter
Difficulty:
Triaged:
No
Bugzilla link:
Description
Steps to Reproduce:
LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv scap-content create --original-filename="Igh0IgphDVzgKlf74JsXNGEYtgWR7SvuxrX31SRTWEoaYazC7eHKchdh9S8hMEP6sZxiBXPpcShUfNZwsMpRsEQanguWXpcjp0mkQz0FGCTKxTXqZuOquPN2gTLhvvAodV1FTkJLcYnIMNz33v8HTwiKCDriNHKcmMyoSTE4Z0Dfwqy6RJRQB7nygByMfmJAkn9mhuPXZT3ewSoA1d6wNelzV2n0VWlv6c3OK5JkWam1qugcc6ZiyjJffmqNzzPhEj1L3t1i0rftTKJ08pa7K7RvPer6QcmqgP3ja8A85LyacgEg71vHR18o3gCeb9q7FjGiGXcfBnCbwAwEyoWuRj9xsdeZc3MeWlhlXR0Wjw6yhpJ8vQKyVB0qVRL7OOxETovhXoe8JMnXVJmsvkIZpzaU9uxHKYvfutvE6yqjXbWCoQqOA4heZTxloIXk70XczeNvMOnHixT9L1mDLP8aYinfq5CCFpySnFo8sqfbTKRwZIocRNAvrcOADsY1sOZwkvrP7vrrZgXBfV5nMGULRNmHR6v2lDLmJPbFGn581xQ25jAdpZQhZHglcmTYRZ0HzBpgrT7xVEEz4vXlgqGibmaXVagU7iKpG5FhfgSHakXQ99dIIGCT4WBarwTfkK5zBQOdxSkMWz7Pu5wtohkNdyxcRzFfSwpMVtofs5RvgRo4UuP1wgOqvKAKAeTqKxp9nyRCYYs7PYkBvK4bf6btKXIwmImW5mNi0IHhDn624iCwUMXtEhdBf8qav38rP1vzHQ4YUJBwjLqaSeMzRmSWieUVgd0CZuMJEZpzanxc4R2szGeSbTvNdZgWfU6ZsoYtwlS5LlZWLKlApjpKI9gHXiCRKsrMXtcr1sME7afLcR6JQyYweHBFiwaHb5XSLshyshkj" --title="6wq9kzzwcp" --scap-file="/tmp/ssg-rhel6-ds.xml" 2017-08-17 13:04:56 - robottelo.ssh - INFO - <<< stdout Message,Id,Name Scap content successfully created,id,name
Actual results:
No max length limit , or validation
Expected results:
There should be validation of the value passed to original-filename parameter
Actions