Skip to content

Commit

Permalink
Fix write of Cookie rfc6265 string in FastCGI adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Sep 12, 2023
1 parent 572ac16 commit 4c7f9fb
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 95 deletions.
5 changes: 3 additions & 2 deletions repository/Seaside-Adaptors-FastCGI.package/.filetree
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"noMethodMetaData" : true,
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"name" : "FSResponderRole" }
"name" : "FSResponderRole"
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "FastCGISeasideGemServer",
"pools" : [
],
"super" : "SeasideGemServer",
"type" : "normal" }
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "FastCGISeasideGemServer",
"type" : "normal"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ addCookie: aWACookie toStream: aStream

aStream
nextPutAll: 'Set-Cookie: ';
nextPutAll: aWACookie key.
aWACookie value ~~ nil
ifTrue: [
aStream
nextPut: $=;
nextPutAll: aWACookie value ].
aWACookie
writeExpiresOn: aStream;
writePathQuoted: false on: aStream;
writeDomainQuoted: false on: aStream;
writeSecureOn: aStream;
writeHttpOnlyOn: aStream.
aStream
nextPutAll: aWACookie rfc6265String;
nextPut: Character cr;
nextPut: Character lf.
nextPut: Character lf

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "WAFastCGIAdaptor",
"pools" : [
],
"super" : "WAFastCGIRequestConverter",
"type" : "normal" }
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "WAFastCGIAdaptor",
"type" : "normal"
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"super" : "WAServerAdaptor",
"category" : "Seaside-Adaptors-FastCGI",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [
"server" ],
"server"
],
"name" : "WAFastCGIRequestConverter",
"pools" : [
],
"super" : "WAServerAdaptor",
"type" : "normal" }
"type" : "normal"
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"category" : "Seaside-Adaptors-FastCGI-Tests",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "WAFastCGIRequestConverterTest",
"pools" : [
],
"super" : "TestCase",
"type" : "normal" }
"category" : "Seaside-Adaptors-FastCGI-Tests",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "WAFastCGIRequestConverterTest",
"type" : "normal"
}

This file was deleted.

3 changes: 1 addition & 2 deletions repository/Seaside-Adaptors-FastCGI.package/properties.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{ }

0 comments on commit 4c7f9fb

Please sign in to comment.