← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474299] [NEW] Invalid url returns versions

 

Public bug reported:

Overview:
Returns the list of versions, when an invalid url is sent.

Steps to reproduce:
Send anything but the version numbers after the address.
This works with any http method.

GET /nonsense HTTP/1.1.
User-Agent: curl/7.35.0.
Host: localhost:9292.
Accept: */*
Content-Type: application/json

Expected:
404 as the content is not found.

Actual:
300 with the data on all the version numbers.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1474299

Title:
  Invalid url returns versions

Status in Glance:
  New

Bug description:
  Overview:
  Returns the list of versions, when an invalid url is sent.

  Steps to reproduce:
  Send anything but the version numbers after the address.
  This works with any http method.

  GET /nonsense HTTP/1.1.
  User-Agent: curl/7.35.0.
  Host: localhost:9292.
  Accept: */*
  Content-Type: application/json

  Expected:
  404 as the content is not found.

  Actual:
  300 with the data on all the version numbers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1474299/+subscriptions


Follow ups