Project

General

Profile

Bug #6089

Operating system name should not have slash character allowed

Added by Lukas Zapletal over 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
TFTP
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Since we use operating system name in TFTP filename we should either not allow the slash character to be present, or we should convert it to underscore in this method:

  # sets the prefix for the tfp files based on the os / arch combination
  def pxe_prefix(arch)
    "boot/#{to_s}-#{arch}".gsub(" ","-")
  end

Also available in: Atom PDF