Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
d60848d0
Commit
d60848d0
authored
18 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
cookie expiration time got us with pants at our knees.
Next time in 2038 :-)
parent
d2dd3d7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/data/test31
+3
-3
3 additions, 3 deletions
tests/data/test31
tests/data/test46
+1
-1
1 addition, 1 deletion
tests/data/test46
tests/data/test506
+5
-5
5 additions, 5 deletions
tests/data/test506
tests/data/test61
+2
-2
2 additions, 2 deletions
tests/data/test61
with
11 additions
and
11 deletions
tests/data/test31
+
3
−
3
View file @
d60848d0
...
...
@@ -22,10 +22,10 @@ Set-Cookie: partmatch=present; domain=127.0.0.1 ; path=/;
Set-Cookie:eat=this; domain=moo.foo.moo;
Set-Cookie: eat=this-too; domain=.foo.moo;
Set-Cookie: nodomainnovalue
Set-Cookie: nodomain=value; expires=Tue Feb 1 11:56:27 GMT 20
14
Set-Cookie: nodomain=value; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: novalue; domain=reallysilly
Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 GMT 20
38
boo
</data>
...
...
This diff is collapsed.
Click to expand it.
tests/data/test46
+
1
−
1
View file @
d60848d0
...
...
@@ -14,7 +14,7 @@ HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Tue, 25 Sep 2001 19:37:44 GMT
Content-Type: text/html
Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-20
10
05:00:00 GMT; path=/
Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-20
38
05:00:00 GMT; path=/
Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Set-Cookie: justaname=; path=/;
...
...
This diff is collapsed.
Click to expand it.
tests/data/test506
+
5
−
5
View file @
d60848d0
...
...
@@ -6,9 +6,9 @@ HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Set-Cookie: test1=one; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test2=two; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test3=three; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test1=one; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test2=two; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test3=three; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Content-Length: 29
run 1: set cookie 1, 2 and 3
...
...
@@ -18,8 +18,8 @@ HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:01 GMT
Server: test-server/fake
Content-Type: text/html
Set-Cookie: test4=four; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test5=five; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test4=four; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test5=five; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Content-Length: 26
run 2: set cookie 4 and 5
...
...
This diff is collapsed.
Click to expand it.
tests/data/test61
+
2
−
2
View file @
d60848d0
...
...
@@ -16,8 +16,8 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
07
Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 GMT 20
38
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment