mei
Minnow
Posts: 4
|
Post by mei on Jan 2, 2020 2:39:56 GMT
Hi All,
I am an software engineer focus on BMC, I'd like to know if Redfish specification states "Serial numbers shall not include the space character". ( Serial numbers means the ID in /redfish/v1/Systems/{ID}
In other words, Do we need to support the space in URI?
Please advise.
Thank You Very Much.
BR, Mei
|
|
|
Post by jautor on Jan 2, 2020 20:22:15 GMT
No, the {ID} values used in Redfish resource URIs cannot contain spaces. This is called out explicitly in the Specification:
We know that parsing URIs is very difficult if spaces and other percent-encoded or unsafe characters are included, which is why it's forbidden by the specification.
Jeff
|
|
mei
Minnow
Posts: 4
|
Post by mei on Jan 3, 2020 1:38:44 GMT
Hi jautor,
Thank You so so much.
|
|