| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains fixes for the following sorts of issues:
* Octal escape sequence terminated by decimal number
* Possibly-uninitialized local variable
* Assignment inside conditional
* Signedness mismatch
This also contains a very small number of other cleanups to nearby code.
BUG=81439
TEST=none
R=rch@chromium.org
Review URL: https://codereview.chromium.org/374033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281875 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Other parts of the network stack are processing and fetching results from
invalid DNS names, but TransportSecurityState was rejecting them and therefore
HSTS policies didn't apply.
This change removes the sanity checking so that TransportSecurityState is more
promiscuous in what it'll try and process.
BUG=312689
Review URL: https://codereview.chromium.org/54623005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232463 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL makes the following changes:
1. DNSDomainFromDot fails for "empty" names such as "", ".", ".." etc.
2. Some additional unit-tests are added for DNSDomainFromDot().
3. DnsTransaction now treats DNS names such as "." as invalid arguments.
4. Added a comment to SocketStreamDispatcherHost to clarify that SocketStreamHost is responsible for checking |url|.
BUG=235161
Review URL: https://chromiumcodereview.appspot.com/14876023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(This is a follow up to r53782.)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54324 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|