Bug 848663
Summary: | Dose not strictly check the 'nolinks ' input parameter to suppress link in REST apis | ||
---|---|---|---|
Product: | OKD | Reporter: | Wei Sun <wsun> |
Component: | Master | Assignee: | Ravi Sankar <rpenta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | rpenta, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | devenv_2051 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-17 21:29:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wei Sun
2012-08-16 07:19:43 UTC
This will be fixed later today. Fixed in git revision bb8b12198. verified on devenv-stage_233 [sunwei@dhcp-8-229 dev]$ curl -k -X GET -H "Accept: application/xml" --user wsun:red https://ec2-23-22-239-11.compute-1.amazonaws.com/broker/rest/api?nolinks=haha <?xml version="1.0" encoding="UTF-8"?> <response> <type nil="true"></type> <version>1.1</version> <supported-api-versions> <supported-api-version>1.0</supported-api-version> <supported-api-version>1.1</supported-api-version> </supported-api-versions> <data> <datum nil="true"></datum> </data> <status>unprocessable_entity</status> <messages> <message> <field nil="true"></field> <exit-code>167</exit-code> <text>Invalid value for 'nolinks'. Valid options: [true, false, 1, 0]</text> <severity>error</severity> </message> </messages> </response> |