-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property values containing space characters #19
Comments
All properties are string key value pairs, with no support spaces. Should we have the service reject these properties too |
Yes, rejecting unsupported values makes sense to me. |
Well technically they are not "unsupported" Device=BPM C01 now when you query for Device=BPM or Device=C01, you will get that channel. Thus you can have a channel with a property with multiple values |
In the above case if you search |
Thanks for the clarification. I can see how this could be a useful feature, but to me it is completely unintuitive. I think we should reject property values with spaces. If there is a need in the future, perhaps we could reintroduce it with a more deliberate design. For instance, maybe using a different delimiter than space for multiple property values. |
@berryma4 thinks this would be a good feature to keep. |
So, here is my use case. Because it follows what other info arrays are doing. So, if we keep this, I have something that already works 🥇 |
The more I think about this, the more I like it too... |
@archman was testing CF/RecSync and found a problem when querying the 'time' property.
If the time property has a value of '2016-12-11 14:02:36.12422'
Then this query will find the expected channels:
But this query will find nothing:
The problem appears to be related to the space character and remains even if it's properly URL encoded with %20.
The text was updated successfully, but these errors were encountered: