Project

General

Profile

Bug #2092

Create host: no freeip suggestion when Subnet description contains parentheses

Added by Mikael Fridh almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Example subnet name: Cabinet 4717 (corp/dev) - when the subnet has this description - the spinner never starts and the "POST freeip" browser request never gets sent to Foreman.

Associated revisions

Revision 3101210d (diff)
Added by Mikael Fridh almost 8 years ago

fixes #2092 - allow parens in Subnet description

History

#1 Updated by Mikael Fridh almost 8 years ago

  • Assignee changed from Ohad Levy to Mikael Fridh
  • % Done changed from 0 to 90

pullrequested: https://github.com/frimik/foreman/commit/b6769a4f31e64c9e55b4066f43f9858c44147426

should be good to go, see no reason why that new regex wouldn't work. Allow all characters and by means of greedy matching it should strip everything except the last paren group - being the (ip/mask) string.

#2 Updated by Mikael Fridh almost 8 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF