-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
60 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#hostname:port:database:username:password | ||
localhost:5432:postgres:postgres:postgres | ||
192.168.4.0:1234:foo:bar:baz | ||
#some interesting comment | ||
|
||
host with \: semicolons in it? what?:*:*:*:well yes, that is possible, the \:password\: can contain those as well | ||
|
||
\::\::\::\::\: | ||
|
||
::wrong amount of entries is skipped | ||
|
||
::::::::::: | ||
|
||
you can escape an escape too\: see \\\\:*:*:*:yes it is possible | ||
other escapes like \n or \? :*:*:*:are just parsed as-is | ||
a trailing escape character:*:*:*:is treated as a regular slash\ | ||
passwords should preserve leading space:*:*:*: pass | ||
\\\::*:*:*:\\\: | ||
#example.com:443:foo:bar:baz | ||
|
||
\:\:1:*:database_name:user_that_has_no_password: | ||
|
||
*:*:*:*:fallback_password | ||
order_matters:1234:this:will_still_match_the_fallback_password:not_this_one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters