diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-04-24 15:46:40 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-05-15 09:13:23 +0000 |
commit | 382a4d3fa486b844f4fd42c16ee41d9a38ba52f0 (patch) | |
tree | 2fb1f55aeab9a2caa59224c33c50241a5ccab3d7 /include/ScopedJavaUnicodeString.h | |
parent | f09d34c9c7ceb622161d2db900db381b3c256f17 (diff) |
Proper fix for rejecting ftp URL with /r/n.
This change superseedes previous (broken) attempt and is based
on openJdk change:
changeset: 17022:ada6fcb7cfd1
user: vtewari
date: Fri Feb 10 10:11:10 2017 +0530
summary: 8170222: Better transfers of files
Tests rewrite taken from tobiast@ fix in http://ag/2141666.
Altered to not check for the case with username and no password
(because in current code this results in NPE, not sure if expected,
will check further) and removed the case with only '\r' in it, which
is not handled by openJdk fix, but shouldn't cause issues.
Test: FtpURLConnectionTest
Bug: 35784677
Change-Id: Ifdf6ebca362d1a5836d32b6f9663eff6c0c8f6ac
Merged-In: I02c4b9194d395f901ef1e8e6154e06add25b51c9
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions