Project

General

Profile

Bug #9740

Requests to foreman_url containing path are not built correctly

Added by Marek Hulán over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

URI.join requires the first path with trailing slash and all other without it, otherwise it always replaces the whole path. See https://github.com/theforeman/smart-proxy/blob/1.8-stable/lib/proxy/request.rb#L24 for more details

Associated revisions

Revision 95cd9c88 (diff)
Added by Marek Hulán over 5 years ago

Fixes #9740 - support foreman_url with path

Normalization of settings implemented by Dmitri Dolguikh <>

History

#1 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/267 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 5 years ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/269 added
  • Pull request deleted (https://github.com/theforeman/smart-proxy/pull/267)

#3 Updated by Marek Hulán over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF