Project

General

Profile

Actions

Bug #17636

closed

Template preview requires token to be present for template proxying

Added by Lukas Zapletal about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Basically I fixed #14479 only in lib/foreman/renderer.rb while we have another copy in app/models/concerns/host_template_helpers.rb. Preview and real template rendering give different results at the moment.

Ideal solution is to refactor this, but we have a separate ticket for that: #8290.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #14479: Function foreman_url check for tokensClosedLukas Zapletal04/05/2016Actions
Related to Foreman - Bug #8290: dry the foreman_url logic that exists in both renderer and host_templates_helperClosedTimo Goebel11/05/2014Actions
Actions

Also available in: Atom PDF