Commit 9a613dd1 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Lets zap \r characters away since so many people like to upload their

keys from windoze boxes.
parent eec0ed33
......@@ -285,6 +285,8 @@ sub ParseKey($) {
my ($keyline) = @_;
# Remove trailing newlines which screws the patterns below.
# First convert dos newlines since many people upload from windoze.
$keyline =~ s/\r/\n/g;
$keyline =~ s/\n//g;
# Enforce a reasonable length on the key.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment