summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a1ce19d)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10855
e03df62e-2008-0410-955e-
edbf42e46eb7
for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++)
{
for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++)
{
- if (InspIRCd::Match(u->second->GetIPString(), ip))
+ if (InspIRCd::Match(u->second->GetIPString(), ip, ascii_case_insensitive_map))
for (std::vector<HTTPACL>::const_iterator this_acl = acl_list.begin(); this_acl != acl_list.end(); ++this_acl)
{
for (std::vector<HTTPACL>::const_iterator this_acl = acl_list.begin(); this_acl != acl_list.end(); ++this_acl)
{
- if (InspIRCd::Match(http->GetURI(), this_acl->path))
+ if (InspIRCd::Match(http->GetURI(), this_acl->path, ascii_case_insensitive_map))
{
if (!this_acl->blacklist.empty())
{
{
if (!this_acl->blacklist.empty())
{
while (sep.GetToken(entry))
{
while (sep.GetToken(entry))
{
- if (InspIRCd::Match(http->GetIP(), entry))
+ if (InspIRCd::Match(http->GetIP(), entry, ascii_case_insensitive_map))
{
ServerInstance->Logs->Log("m_httpd_acl", DEBUG, "Denying access to blacklisted resource %s (matched by pattern %s) from ip %s (matched by entry %s)",
http->GetURI().c_str(), this_acl->path.c_str(), http->GetIP().c_str(), entry.c_str());
{
ServerInstance->Logs->Log("m_httpd_acl", DEBUG, "Denying access to blacklisted resource %s (matched by pattern %s) from ip %s (matched by entry %s)",
http->GetURI().c_str(), this_acl->path.c_str(), http->GetIP().c_str(), entry.c_str());
while (sep.GetToken(entry))
{
while (sep.GetToken(entry))
{
- if (InspIRCd::Match(http->GetIP(), entry))
+ if (InspIRCd::Match(http->GetIP(), entry, ascii_case_insensitive_map))