Project

General

Profile

Bug #31348

Intermediate script is broken due to URL encoded parameters

Added by Lukas Zapletal over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
Templates
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

We made a change to cleanup iPXE template code by using <%= foreman_url('iPXE', mac: "${net#{i}/mac}") %> which is cleaner but it has one major issue, it renders to URL encoded string: http://foreman.some.host.fqdn/unattended/iPXE?mac=%24%7Bnet0%2Fmac%7D while this should be http://foreman.some.host.fqdn/unattended/iPXE?mac=${net0/mac}

This breaks iPXE workflow completely.

Associated revisions

Revision 174c7354 (diff)
Added by Lukas Zapletal over 2 years ago

Fixes #31348 - raw params in foreman_url support

History

#1 Updated by Lukas Zapletal over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to 2.3.0

Requesting 2.3, this is a regression we introduced which completely breaks iPXE provisioning without tokens.

#2 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Lukas Zapletal
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8143 added

#3 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.4.0 added

#4 Updated by Tomer Brisker over 2 years ago

  • Fixed in Releases 2.3.0 added
  • Fixed in Releases deleted (2.4.0)

#5 Updated by Lukas Zapletal over 2 years ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker over 2 years ago

  • Category set to Templates

Also available in: Atom PDF