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
8b94b1c7
Kaydet (Commit)
8b94b1c7
authored
Şub 21, 2001
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added test for patch #103473: test an unquoted cookie value containing '='
üst
71534606
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
test_cookie
Lib/test/output/test_cookie
+4
-0
test_cookie.py
Lib/test/test_cookie.py
+3
-0
No files found.
Lib/test/output/test_cookie
Dosyayı görüntüle @
8b94b1c7
...
...
@@ -10,6 +10,10 @@ Set-Cookie: chips=ahoy;
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
keebler 'E=mc2; L="Loves"; fudge=\n;' 'E=mc2; L="Loves"; fudge=\n;'
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
<SimpleCookie: keebler='E=mc2'>
Set-Cookie: keebler=E=mc2;
keebler 'E=mc2' 'E=mc2'
Set-Cookie: keebler=E=mc2;
Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
<SCRIPT LANGUAGE="JavaScript">
...
...
Lib/test/test_cookie.py
Dosyayı görüntüle @
8b94b1c7
...
...
@@ -10,6 +10,9 @@ cases = [
(
'chips=ahoy; vienna=finger'
,
{
'chips'
:
'ahoy'
,
'vienna'
:
'finger'
}),
(
'keebler="E=mc2; L=
\\
"Loves
\\
"; fudge=
\\
012;";'
,
{
'keebler'
:
'E=mc2; L="Loves"; fudge=
\012
;'
}),
# Check illegal cookies that have an '=' char in an unquoted value
(
'keebler=E=mc2;'
,
{
'keebler'
:
'E=mc2'
})
]
for
data
,
dict
in
cases
:
...
...
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