Bug #33256

Incorrect search link from packages view for applicable or upgradable hosts

Added by Gerald Vogt 9 months ago. Updated 8 months ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:



If there is a package name with a + (plus) sign in the name, e.g. for the EL8 module packages, the links to search for applicable or upgradable hosts don't encode the search correctly.

Go to a package which is applicable or upgradable to some hosts, i.e. URL like !

If the package name contains plus signs, e.g. conmon-2:2.0.29-1.module_el8.4.0+886+c9a8d9ad.x86_64, the links for the applicable or upgradeable hosts (e.g. (1 Host(s)") look like this:


which leads to this search string: "applicable_rpms=conmon-2.0.29-1.module_el8.4.0 886 c9a8d9ad.x86_64"

The plus signs are replaced by a space and thus nothing is found. If I manually replace the space with a plus it works: "applicable_rpms=conmon-2.0.29-1.module_el8.4.0+886+c9a8d9ad.x86_64"

So I guess the plus should be encoded for the search...

Associated revisions

Revision 5077fdc7 (diff)
Added by Lucy Fu 8 months ago

Fixes #33256 - encode the search link from packages view


#1 Updated by Gerald Vogt 9 months ago

Sven Jansen wrote:

i can confirm this issue on katello, this are all packages of one of my systems that show up as applicable but they are not. All my hosts with this issues are packages with + sign in it.

I think you are confusing issues. Your problem is here

This is issue here is just a conversion/encoding issue in the frontend. Those packages are in deed applicable, but the link is wrong.

#2 Updated by Chris Roberts 9 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.3.0
  • Category set to Hosts

#3 Updated by The Foreman Bot 9 months ago

  • Assignee set to Lucy Fu
  • Status changed from New to Ready For Testing
  • Pull request added

#4 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.3.0 added

#5 Updated by Lucy Fu 8 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF