Project

General

Profile

Bug #31722

"Can not set password with opaque" error on settings page after creating Http proxy with invalid url.

Added by Ondřej Pražák 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

*Description of problem: "can not set password with opaque" error on settings page after creating Http proxy with invalid url.

Steps to Reproduce:

1. Go to Infrastructure > Http Proxies
2. Create a http proxy with invalid url. (like http:invalid.com)
3. Go to Administer > Settings

Actual results:
Oops, we're sorry but something went wrong: can not set password with opaque

Expected results:
Settings page should be accessible

Associated revisions

Revision c204cf4f (diff)
Added by Ondřej Pražák 3 months ago

Fixes #31722 - Improve url validation for HTTP proxies

We should not accept http:foo.com as a valid URL.

History

#1 Updated by Ondřej Pražák 3 months ago

  • Assignee set to Ondřej Pražák
  • Subject changed from "Can not set password with opaque" error on settings page after creating Http proxy with invalid url. to "Can not set password with opaque" error on settings page after creating Http proxy with invalid url.

#2 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8279 added

#3 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 2.4.0 added

#4 Updated by Ondřej Pražák 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF