diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-13 08:12:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-13 08:12:21 +0000 |
commit | 6c37374954e8308aa205a082cb626c5428caff40 (patch) | |
tree | e770b339bca127bb159ab39d977b732b5b55ea6a /ChangeLog | |
parent | af95776c6d617b07f2ce84377ec9c0a82bf8f270 (diff) | |
download | ruby-6c37374954e8308aa205a082cb626c5428caff40.tar.gz |
no_proxy with whitespaces and leading dots
* lib/uri/generic.rb (find_proxy): exclude white-spaces and allow
for a leading dot in the domain name in no_proxy.
[ruby-core:54542] [Feature #8317]
The previous implementation wouldn't allow for white-spaces nor a leading dot
in the domain name. The latter is described in the wget documentation as a valid case.
By being more strict on the characters, which are counted to a domainname,
we allow for white-spaces.
Also, a possible leading dot will be handled gracefully.
[Fix GH-285]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sat Feb 13 17:11:58 2016 Fabian Wiesel <fabian.wiesel@sap.com> + + * lib/uri/generic.rb (find_proxy): exclude white-spaces and allow + for a leading dot in the domain name in no_proxy. + [ruby-core:54542] [Feature #8317] + Fri Feb 12 12:20:56 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * error.c (name_err_initialize, nometh_err_initialize): [DOC] fix |