Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ public static String getCleanUserName(String name) {
if (slashIndex >= 0) {
uname = uname.substring(slashIndex + 1);
}

// on Windows, the username can come back in various cases if you're
// using AD or similar, this creates issues in the project file so we
// normalize to lowercase as it shouldn't impact anything else
if (System.getProperty("os.name").toLowerCase().contains("windows")) {
uname = uname.toLowerCase();
}
return uname;
}

Expand Down