Sludge Vohaul 22 Posted October 3, 2017 Share Posted October 3, 2017 Hi, the current "functionality" of the method QueryStringDictionary.GetEncodedValue() leads to errors if reserved characters (&, ?, /,..) are used in the string value. I think the method body should be return WebUtility.UrlEncode(value); Link to comment Share on other sites More sharing options...
Luke 37133 Posted October 3, 2017 Share Posted October 3, 2017 Please submit a pull request. Just FYI, there is no longer an Emby app using this library and therefore our time that we can spend on it is very limited. Thanks. Link to comment Share on other sites More sharing options...
Sludge Vohaul 22 Posted October 3, 2017 Author Share Posted October 3, 2017 (edited) Hi, does this mean that one should get away from the whole Emby.ApiClient namespace? If so, it's not worth it to fix something which probably never caused problems to anyone (except me) so far. What's the Emby alternative in this case (besides reinventing all the HTTP stuff from scratch in c#)? Edited October 3, 2017 by Sludge Vohaul Link to comment Share on other sites More sharing options...
Luke 37133 Posted October 3, 2017 Share Posted October 3, 2017 7illusions Ember app is using this library. I will pitch in for things like major api changes and catastrophic problems, but that query string stuff you mentioned has always been fine in the past. Small api changes are where this is likely to fall behind. In a perfect world I would like to keep a working c# lib, but it is hard to dedicate the time. In UWP, c# can call javascript, so if you are targeting UWP then the JS version would be my suggestion. Link to comment Share on other sites More sharing options...
Sludge Vohaul 22 Posted October 3, 2017 Author Share Posted October 3, 2017 No, UWP is not on my list Thanks for the info, I'll then build my own ApiClient, with Blackjack. And Hoo<snip> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now