-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[http] URL encoding #11920
Labels
bug
An unexpected problem or unintended behavior of an add-on
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/http-binding-and-special-characters/130940/9 |
Fixed by: #16282 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Sometimes it's necessary to assign values containning national characters to string items (and this works ok). The problem is that http binding is not URL encoding such characters, therefore linking them in string channels results in errors such as
In above message the national character
ã
should have been encoded by the binding. In fact, ifa
was used instead ofã
the message is sent.Current Behavior
Errors are produced in
openhab.log
when national characters are assigned to string channels.Possible Solution
Steps to Reproduce (for Bugs)
Create a thing as follows:
message
to a string itemContext
I am using the http binding for multiple purposes. In above case I'm using it instead of the telegram binding (I don't need to poll received messages, I only need to send occasional alerts and http binding is perfect for that).
Your Environment
The text was updated successfully, but these errors were encountered: