We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b6a5d2 + 9fb7950 commit 2ef89f3Copy full SHA for 2ef89f3
contrib/mw-to-git/git-remote-mediawiki
@@ -109,6 +109,10 @@ $dumb_push = ($dumb_push eq "true");
109
110
my $wiki_name = $url;
111
$wiki_name =~ s/[^\/]*:\/\///;
112
+# If URL is like http://user:password@example.com/, we clearly don't
113
+# want the password in $wiki_name. While we're there, also remove user
114
+# and '@' sign, to avoid author like MWUser@HTTPUser@host.com
115
+$wiki_name =~ s/^.*@//;
116
117
# Commands parser
118
my $entry;
0 commit comments