[Passwordsafe-devel] Clarification on dot escaping
Popular easy-to-use and secure password manager
Brought to you by:
ronys
From: Reynir B. <re...@gm...> - 2015-03-20 10:41:41
|
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 |