String operation issues with special sign (+) in a compare operator #24337
Labels
Component: GUI engine
Triage: Needed
(managed by bot!) issue that was just created and needs someone looking at it
Bug report
Describe the bug
String operations fails if an operator contains a plus sign (+).
For some reasons I need to compare the videoresolution string from an info label "Player.Progress(eoft_gamut)" wich is available on Amlogic devices. This Label returns strings like "HDR10 ...", HDR10+ ...", "HLG .." and so on. A comparison with the String Operations String.StartsWith(), String.Contains() etc. fails on "HDR10+". Other comparsion with operators without "+" sign is fine.
Expected Behavior
A comparsion with special chars using String functions should work as expected.
Special chars like "+" needs a special treatment
Actual Behavior
Possible Fix
To Reproduce
Steps to reproduce the behavior:
Some further investigations and reports from other users you'll find in this thread: https://forum.kodi.tv/showthread.php?tid=375547&pid=3177122
Debuglog
The debuglog can be found here:
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
macOS
Windows
Windows UWP
Operating system version/name:
Kodi version: Kodi 20.2, Kodi 21 Beta 2
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: