You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Redis INFO output is parsed as (Java) properties, although it is not the same format #3099
Although we're not using the Windows versions in production, they are helpful for developers using a Windows machine.
Technically speaking, the INFO output should not be parsed as Properties as it is not encoded as such.
My current workaround is to set the TEMP/TMP environment variables so that they don't point to c:\users\..., as the \u.... raises the exception.
I've tried to start Redis as c:/.../redis-server.exe but the changed separator only works for the configuration file, not exe path in the INFO output.
@mp911de
Hi, I’d like to contribute to this issue!
I understand that using Properties for parsing Redis INFO output can cause unexpected behavior, especially with Windows file paths. I’d be happy to work on a fix by replacing the current parsing logic with a simpler key-value parser that avoids the escape character problems.
If you’re open to this, I’ll prepare a PR with the fix. Let me know if there are any specific considerations or additional edge cases you'd like me to cover. Feel free to assign me to this issue if you’d like me to proceed.
Activity
mp911de commentedon Feb 10, 2025
Using properties parsing seemed to be the simplemost approach. We'd be happy to review a pull request.
young0264 commentedon May 26, 2025
@mp911de
Hi, I’d like to contribute to this issue!
I understand that using
Propertiesfor parsing Redis INFO output can cause unexpected behavior, especially with Windows file paths. I’d be happy to work on a fix by replacing the current parsing logic with a simpler key-value parser that avoids the escape character problems.If you’re open to this, I’ll prepare a PR with the fix. Let me know if there are any specific considerations or additional edge cases you'd like me to cover. Feel free to assign me to this issue if you’d like me to proceed.
Thanks!
Parse Redis `INFO` output without using `Properties.load()`.
Parse Redis `INFO` output without using `Properties.load()`.
Parse Redis `INFO` output without using `Properties.load()`.