Search with Colon Fails
Trying a search with a colon character fails to complete.
An example of this type of search being performed is looking up information for a login with a port number or IPv6 address.
Search for the matching url before the Colon:
Search with a Colon added, returns no results
Search even expanded to All Fields still returns no results
There was a related thread for 1Password Mini, that mentioned a bug but no further information if said bug was ever resolved: https://discussions.agilebits.com/discussion/14721/problem-with-1password-mini-search-and-colons
Comments
-
Hi @justinyost,
Thanks for contacting us about this, and for including the screenshots!
The older discussion you found is actually a very different issue that was found a few years ago during beta testing & development of 1Password 4 for Mac. That was a bug where the Search tool in 1Password mini would not search for non-alphanumeric symbols. Although that sounds similar to the behavior you found, the colon isn't technically the reason why your search isn't working.
The reason the search results are empty once you type the colon is because 1Password doesn't search against the whole URL string in the 'website' field - it's using the same logic that 1Password mini uses when it suggests Login items that match the website you're viewing in a browser. In other words, it uses the hash of the domain for searching the website field and excludes other parts. For example, the same thing will happen if you try searching for
http://
orhttps://
. It's not specific to the colon - using your example, searching for8080
would also fail to find any results (unless "8080" happens to be in a different field in one of your items).Because this behavior is specific to the main website field(s) of a Login item, a workaround would be to copy
vagrant.dev:8080
(or whatever you need to find in a search) into that item's title, the notes field, or a custom field. The full URL should be textually searched in those other fields.Sorry for the confusion about that, but I hope this helps to explain why that's happening. If you have more questions about that or need anything else, we're here for you! :)
0 -
Hi @Drew_AG,
Thanks for the clear answer and the reasoning behind it.
0 -
You're very welcome! :)
0