← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942977] [NEW] Escape characters in the returned exception prompt

 

Public bug reported:

# curl -H "X-Auth-Token: $token" http://glance.openstack.svc.region-native-test.myinspurcloud.com//v2/images?protected=true11
<html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  Invalid value &#x27;true11&#x27; for &#x27;protected&#x27; filter. Valid values are &#x27;true&#x27; or &#x27;false&#x27;.<br /><br />


 </body>
</html>

There are "&#x27;" in messages that should be removed.

Glance version:
commit ad39c12c64c8ff017918a8790d69d5278ac379da (HEAD -> stable/rocky, tag: rocky-em, tag: 17.0.1, origin/stable/rocky)
Merge: 8d9ff5f5 f992a0b2
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
Date:   Fri Sep 20 18:25:41 2019 +0000

    Merge "Fix manpage building and remove glance-cache-manage" into
stable/rocky

** 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/1942977

Title:
  Escape characters in the returned exception prompt

Status in Glance:
  New

Bug description:
  # curl -H "X-Auth-Token: $token" http://glance.openstack.svc.region-native-test.myinspurcloud.com//v2/images?protected=true11
  <html>
   <head>
    <title>400 Bad Request</title>
   </head>
   <body>
    <h1>400 Bad Request</h1>
    Invalid value &#x27;true11&#x27; for &#x27;protected&#x27; filter. Valid values are &#x27;true&#x27; or &#x27;false&#x27;.<br /><br />


   </body>
  </html>

  There are "&#x27;" in messages that should be removed.

  Glance version:
  commit ad39c12c64c8ff017918a8790d69d5278ac379da (HEAD -> stable/rocky, tag: rocky-em, tag: 17.0.1, origin/stable/rocky)
  Merge: 8d9ff5f5 f992a0b2
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
  Date:   Fri Sep 20 18:25:41 2019 +0000

      Merge "Fix manpage building and remove glance-cache-manage" into
  stable/rocky

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



Follow ups