redis-commander
redis-commander copied to clipboard
Unable to view keys containing \0 chars in its name
We have some Keys which contain \0000 (null) chars in its name. They are created by the PHP Symfony Framework when "tagging" keys. The keys are listed but without noticeable special chars. They cannot be selected, viewed or even deleted.
related to #140 and #425
do you have some ideas how to display these keys in the treeview when they contain invalid chars? (and the should not collide with some similar named keys...)
Hi @sseide thank you for your reply and sorry for not having found #140. This could be considered as a duplicate I think even if the problem is a bit different.
do you have some ideas how to display these keys in the treeview when they contain invalid chars?
I don't know exactly what's the issue right now because no error is printed in the console, but the response form the server request looks correct (the null
char is represented by its unicode digit \000
). Probably it has something to do with the rendered string in the tree view can not be matched with the string in the model?
If the model keeps the correct unicode string and the matching between what I select in the treeview works (maybe not by name?) the only remaining problem would be to have some kind of non printable char representation in the treeview to see the complete string. Maybe show those non printable chars with its hex or unicode representation and highlighted with a light grey.
Something like that:
\000
tags\000
tag1