Clarification on dot escaping
Reynir Björnsson <[email protected]> Fri, 20 Mar 2015 11:41:35 +0100
| Newsgroups | gmane.comp.security.passwordsafe.devel |
|---|---|
| Message-ID | <CAM_fLZXKpmPtGEUg40T8+0BMykfkFAuh9CMRxzcSD5v0Z_Pogg@mail.gmail.com> |
Hi, I am working on extending opws <https://github.com/mbacarella/opws> with some features, one of which is a entry query language. I have noticed what seems like an inconsistency with the file format specification and the behavior of the official client. The file format documentation mentions that »Dots entered by the user should be "escaped" by the application.« The specification does not mention *how*, and furthermore it seems that the official client doesn't do any escaping at all. Example 1: I enter "foo.bar" in group, and "baz" in title. The client will show a group "foo" with a subgroup "bar" with the entry "baz". Example 2: I enter "foo..." in group and "bar" in title. The client will show a group "foo..." with the entry "bar". Example 3: I enter "foo..bar" in group and "baz" in title. The client will show a group "foo." with a subgroup "bar" with the entry "baz" These are maybe edge cases. I'd like to know what the intented behavior is - should dots be escaped, and if so, how? Regards, Reynir ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Passwordsafe-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/passwordsafe-devel