Skip to content
  • Christian Kandeler's avatar
    SSH: Fix parsing of server id. · e2cb3acd
    Christian Kandeler authored
    
    
    The current implementation is a bit sloppy, so one can construct certain
    invalid strings that will be accepted as well as certain valid ones that
    will be rejected. The new checks are much more precise.
    Most importantly in practice, the version string "1.99" sent by some
    older servers is now accepted, as required by the RFC.
    
    Change-Id: Ib35c27d3a3bc4aea259b9a0dad66817435d95c0a
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
    e2cb3acd