summaryrefslogtreecommitdiffstats
path: root/net/base/dns_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* HSTS: add net-internals UI.agl@chromium.org2011-02-171-0/+18
| | | | | | | | | | | | | | This change adds a simple DOMUI interface to the HSTS list. Since the list is stored, hashed in memory and on disk, there's no list of entries. But the set can be queried and we can provide insertion and deletion. BUG=none TEST=Open about:net-internals, goto HSTS tab. Review URL: http://codereview.chromium.org/6500010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75282 0039d316-1c4b-4281-b951-d872f2087c98
* Add unittest for ".." in a DNS name and add comment.agl@chromium.org2010-07-301-1/+1
| | | | | | (This is a follow up to r53782.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54324 0039d316-1c4b-4281-b951-d872f2087c98
* net: include the root label in DNSDomainFromDotagl@chromium.org2010-07-271-1/+1
| | | | | | | | | | | | | | I was previously sloppy with DNSDomainFromDot. Really it should have included a terminating NUL in the result string to represent the root label, but it actually omitted it because it was more convenient to test that way. This CL fixes that. BUG=none TEST=net_unittests http://codereview.chromium.org/3070002/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53782 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly handle trailing dots in hostname blacklist. jschuh@google.com2010-03-081-0/+8
| | | | | | | | | | | Submitted for inferno@chromium.org BUG=35510 TEST=HostContentSettingsMapTest.HostTrimEndingDotCheck Review URL: http://codereview.chromium.org/669284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40921 0039d316-1c4b-4281-b951-d872f2087c98
* Include fixes for gcc >= 4.3evan@chromium.org2009-09-091-0/+2
| | | | | | | | Patch by Joel Stanley <joel@jms.id.au> Review URL: http://codereview.chromium.org/197055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25699 0039d316-1c4b-4281-b951-d872f2087c98
* ForceTLS: hash hostnames, handle subdomains, canonicalise.agl@chromium.org2009-09-091-0/+71
It turns out that JSON[Reader|Writer] cannot handle periods in key names(!). Because of this, an also to avoid leaking a sort of ForceTLS browser history in the state file, we hash the domain names. Also, this patch tries to implement the RFCs with respect to canonicalising the names. Since IDN processing has already occured by the time the name reaches us, there's only so much that we can do however. http://codereview.chromium.org/201033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25696 0039d316-1c4b-4281-b951-d872f2087c98