Project

General

Profile

Bug #6661

GET /dhcp is always 404

Added by Ohad Levy over 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

when trying to fetch proxy subnets via a API request (GET /dhcp/) I get the following:

, [2014-07-17T09:05:39.725540 #18065] DEBUG -- : Reading config file /etc/dhcpd.conf
D, [2014-07-17T09:05:39.725782 #18065] DEBUG -- : Loading subnets for 127.0.0.1
D, [2014-07-17T09:05:39.725905 #18065] DEBUG -- : Added 10.35.27.0/255.255.255.192 to 127.0.0.1
D, [2014-07-17T09:05:39.726025 #18065] DEBUG -- : Added 10.35.27.128/255.255.255.192 to 127.0.0.1
10.35.4.190 - - [17/Jul/2014 09:05:39] "GET  HTTP/1.1" 404 408 0.0012

It does work correctly if I view the html interface or if i go directly into a subnet via the api (e.g. /dhcp/10.35.27.0).

Associated revisions

Revision 99339284 (diff)
Added by Dmitri Dolguikh over 8 years ago

fixes #6661: trailing slash is not required in urls

History

#1 Updated by Anonymous over 8 years ago

  • Assignee set to Anonymous
  • Status changed from New to Assigned
  • Target version set to 1.8.0

#2 Updated by The Foreman Bot over 8 years ago

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

#3 Updated by Anonymous over 8 years ago

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

#4 Updated by Ohad Levy over 8 years ago

  • Legacy Backlogs Release (now unused) set to 10

Also available in: Atom PDF