diff options
| author | jvoisin | 2017-10-23 23:08:14 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-23 23:08:14 +0200 |
| commit | 2c4251457f519e02bda073cbeb88c6d9778fa9ba (patch) | |
| tree | e2e6fb764c45c5089889869826fa25cb5730e77b /src/sp_upload_validation.c | |
| parent | 970d12baa847455ac96d734332b7dad9638c7146 (diff) | |
Add some tests for upload validation and fix a related typo
Diffstat (limited to 'src/sp_upload_validation.c')
| -rw-r--r-- | src/sp_upload_validation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_upload_validation.c b/src/sp_upload_validation.c index f3f8af4..731a737 100644 --- a/src/sp_upload_validation.c +++ b/src/sp_upload_validation.c | |||
| @@ -79,7 +79,7 @@ int sp_rfc1867_callback(unsigned int event, void *event_data, void **extra) { | |||
| 79 | if (WEXITSTATUS(waitstatus) != 0) { // Nope | 79 | if (WEXITSTATUS(waitstatus) != 0) { // Nope |
| 80 | char *uri = sp_getenv("REQUEST_URI"); | 80 | char *uri = sp_getenv("REQUEST_URI"); |
| 81 | int sim = SNUFFLEUPAGUS_G(config).config_upload_validation->simulation; | 81 | int sim = SNUFFLEUPAGUS_G(config).config_upload_validation->simulation; |
| 82 | sp_log_msg("upload_valiation", sim?SP_LOG_SIMULATION:SP_LOG_DROP, | 82 | sp_log_msg("upload_validation", sim?SP_LOG_SIMULATION:SP_LOG_DROP, |
| 83 | "The upload of %s on %s was rejected.", filename, uri?uri:"?"); | 83 | "The upload of %s on %s was rejected.", filename, uri?uri:"?"); |
| 84 | if (!SNUFFLEUPAGUS_G(config).config_upload_validation->simulation) { | 84 | if (!SNUFFLEUPAGUS_G(config).config_upload_validation->simulation) { |
| 85 | zend_bailout(); | 85 | zend_bailout(); |
