openservicebrokerapi / servicebroker

Open Service Broker API Specification
https://openservicebrokerapi.org/
Apache License 2.0
1.19k stars 434 forks source link

Restrict the valid chars for properties that can appear in URLs #303

Closed duglin closed 5 years ago

duglin commented 7 years ago

Should we consider adding text to the spec to restrict the valid chars used in IDs. Since IDs will sometimes appear in URLs, and while they can always be URL encoded, this could be problematic for some systems and might be easier if we just restricted it so that we don't allow for URL-problematic chars like slashes and question marks.

For reference see: https://github.com/openservicebrokerapi/servicebroker/issues/273 https://github.com/openservicebrokerapi/servicebroker/pull/299

mattmcneeney commented 7 years ago

I'm supportive of this and would welcome a PR that starts to address this (especially if we can do it in a non-breaking way!).

Edit: Just saw the v3 tag. I'm guessing that means we'll do it as a breaking change because that's the only way.

mattmcneeney commented 5 years ago

Added this to the Ideas for v3 wiki page. Closing here.