Bug #31722
"Can not set password with opaque" error on settings page after creating Http proxy with invalid url.
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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
History
#1
Updated by Ondřej Pražák about 2 years 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 about 2 years 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 about 2 years ago
- Fixed in Releases 2.4.0 added
#4
Updated by Ondřej Pražák about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|c204cf4f3ad5037148c832a9ed9645bcced9ccde.
Fixes #31722 - Improve url validation for HTTP proxies
We should not accept http:foo.com as a valid URL.