Skip to content
Snippets Groups Projects
  • Konstantin Nazarov's avatar
    fadfc6cd
    Add support for passwordless 'user:@host' URIs · fadfc6cd
    Konstantin Nazarov authored
    Previously the URI BNF didn't allow to specify empty
    password. There should have been at least one symbol.
    
    Now both user@host and user:@host forms are permitted.
    
    In case of user@host, the password will parsed as nil.
    In case of user:@host, the password will be parsed as
    empty string.
    
    Fixes #1512
    fadfc6cd
    History
    Add support for passwordless 'user:@host' URIs
    Konstantin Nazarov authored
    Previously the URI BNF didn't allow to specify empty
    password. There should have been at least one symbol.
    
    Now both user@host and user:@host forms are permitted.
    
    In case of user@host, the password will parsed as nil.
    In case of user:@host, the password will be parsed as
    empty string.
    
    Fixes #1512