Project

General

Profile

Actions

Bug #35235

closed

Input sanitation of Content View Names not working

Added by Marcel Kühlhorn almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In past versions, when a disallowed character such as . were used in Content View names they were automatically replaced with underscores in the Label.

This is no longer true with the new Content View page, spaces still are replaced but other characters are copied to the label field, resulting in an Error:
Validation failed: Label cannot contain characters other than ascii alpha numerals, '_', '-'.


Files

Screenshot_2022-07-18_16-04-05.jpg View Screenshot_2022-07-18_16-04-05.jpg 163 KB Marcel Kühlhorn, 07/18/2022 02:12 PM
Actions #1

Updated by Marcel Kühlhorn almost 2 years ago

  • Found in Releases Katello 4.5.0 added
Actions #2

Updated by Jeremy Lenz almost 2 years ago

  • Target version set to Katello 4.7.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10244 added
Actions #4

Updated by Lucy Fu almost 2 years ago

KatelloLabelFormatValidator has not been changed for 8 years. Dot is never allowed to be in the content view names.
No plan to change the content view names format.
Add name/label format checking into UI forms.

Actions #5

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.7.0 added
Actions #6

Updated by Lucy Fu almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF