Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d60df17b
Kaydet (Commit)
d60df17b
authored
May 06, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #944110: Properly process empty passwords. Fixes #944082.
üst
e3ea9012
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
urllib2.py
Lib/urllib2.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/urllib2.py
Dosyayı görüntüle @
d60df17b
...
...
@@ -639,7 +639,7 @@ class AbstractBasicAuthHandler:
def
retry_http_basic_auth
(
self
,
host
,
req
,
realm
):
user
,
pw
=
self
.
passwd
.
find_user_password
(
realm
,
host
)
if
pw
:
if
pw
is
not
None
:
raw
=
"
%
s:
%
s"
%
(
user
,
pw
)
auth
=
'Basic
%
s'
%
base64
.
encodestring
(
raw
)
.
strip
()
if
req
.
headers
.
get
(
self
.
auth_header
,
None
)
==
auth
:
...
...
Misc/NEWS
Dosyayı görüntüle @
d60df17b
...
...
@@ -42,6 +42,8 @@ Core and builtins
Library
-------
-
Bug
#
944082
:
Empty
passwords
in
urllib2
are
now
supported
.
-
Bug
#
926075
:
Fixed
a
bug
that
returns
a
wrong
pattern
object
for
a
string
or
unicode
object
in
sre
.
compile
()
when
a
different
type
pattern
with
the
same
value
exists
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment