Patch by mark.
diffs (12 lines):
diff -r c67df31c0ee4 -r 67a4d75565f1 cgi-bin/LJ/Widget/ImportChooseSource.pm
--- a/cgi-bin/LJ/Widget/ImportChooseSource.pm Tue May 19 08:14:32 2009 +0000
+++ b/cgi-bin/LJ/Widget/ImportChooseSource.pm Tue May 19 08:45:59 2009 +0000
@@ -99,7 +99,7 @@ sub handle_post {
unless $hn;
# be sure to sanitize the username
- my $un = lc $post->{username};
+ my $un = LJ::trim( lc $post->{username} );
$un =~ s/-/_/g;
my $pw = $post->{password};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog