mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-05 06:32:34 +02:00
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
* Added a debug block for saving raw post data to 'RDFormPost'.
This commit is contained in:
parent
a7780f9b4e
commit
ae9296352c
@ -17370,3 +17370,5 @@
|
|||||||
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed SysV-style init scripts.
|
* Removed SysV-style init scripts.
|
||||||
* Removed sysconfig support.
|
* Removed sysconfig support.
|
||||||
|
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added a debug block for saving raw post data to 'RDFormPost'.
|
||||||
|
@ -510,6 +510,24 @@ void RDFormPost::LoadMultipartEncoding(char first)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Uncomment to save raw post to disc
|
||||||
|
*
|
||||||
|
FILE *f;
|
||||||
|
if((f=fopen("/var/snd/post.dat","w"))!=NULL) {
|
||||||
|
char data[1025];
|
||||||
|
int n;
|
||||||
|
|
||||||
|
while((n=fread(data,1,1024,post_stream))>0) {
|
||||||
|
fwrite(data,1,n,f);
|
||||||
|
}
|
||||||
|
fclose(f);
|
||||||
|
printf("Content-type: text/html\n\n");
|
||||||
|
printf("Raw post written to \"/var/snd/post.dat\"\n");
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get Separator Line
|
// Get Separator Line
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user