Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 7174184b33edce7c8512400c865b4b33cd9e8f53..0970feb498774b86c39b76798a583f34fbe837e9 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -1096,7 +1096,8 @@ void HostProcess::ApplyHostDomainPolicy() { |
ShutdownHost(kInvalidHostDomainExitCode); |
} |
- if (!base::EndsWith(host_owner_, std::string("@") + host_domain_, false)) { |
+ if (!base::EndsWith(host_owner_, std::string("@") + host_domain_, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
LOG(ERROR) << "The host domain does not match the policy."; |
ShutdownHost(kInvalidHostDomainExitCode); |
} |