Skip to content

Commit

Permalink
fix: update header comment
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Zipitria <[email protected]>
  • Loading branch information
fzipi committed Nov 9, 2023
1 parent 624f360 commit 4e8621e
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 48 deletions.
10 changes: 9 additions & 1 deletion src/ddebug.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

/*
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*/

// From: https://raw.githubusercontent.com/openresty/lua-nginx-module/master/src/ddebug.h

Expand Down
7 changes: 1 addition & 6 deletions src/ngx_http_coraza_body_filter.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/*
* Coraza connector for nginx, http://www.coraza.io/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/

#include "ngx_http_coraza_common.h"
Expand Down
8 changes: 1 addition & 7 deletions src/ngx_http_coraza_common.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
/*
* Coraza connector for nginx, http://www.coraza.io/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/


#ifndef _ngx_http_coraza_COMMON_H_INCLUDED_
#define _ngx_http_coraza_COMMON_H_INCLUDED_

Expand Down
6 changes: 1 addition & 5 deletions src/ngx_http_coraza_header_filter.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Coraza connector for nginx, http://www.modsecurity.org/
* Coraza connector for nginx
* Copyright (c) 2022 Coraza author and contributors (https://www.coraza.io/)
* Based on ModSecurity connector for nginx, http://www.modsecurity.org/
*
Expand All @@ -8,10 +8,6 @@
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/


Expand Down
5 changes: 0 additions & 5 deletions src/ngx_http_coraza_log.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/*
* Coraza connector for nginx, http://www.coraza.io/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/


Expand Down
12 changes: 0 additions & 12 deletions src/ngx_http_coraza_module.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
/*
* Coraza connector for nginx, http://www.coraza.io/
*
* Based on Coraza's connector.
*
* Coraza nginx connector
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* Coraza nginx connector
* Copyright (c) 2022 Coraza
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/

#ifndef CORAZA_DDEBUG
Expand Down
7 changes: 1 addition & 6 deletions src/ngx_http_coraza_pre_access.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/*
* CORAZA connector for nginx, http://www.CORAZA.org/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/

#ifndef CORAZA_DDEBUG
Expand Down
7 changes: 1 addition & 6 deletions src/ngx_http_coraza_rewrite.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/*
* Coraza connector for nginx, http://www.coraza.io/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* If any of the files related to licensing are missing or if you have any
* other questions related to licensing please contact Trustwave Holdings, Inc.
* directly using the email address [email protected].
*
*/

#ifndef CORAZA_DDEBUG
Expand Down
10 changes: 10 additions & 0 deletions src/ngx_http_coraza_utils.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* Coraza connector for nginx
*
* You may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*/

#include "ddebug.h"
#include "ngx_http_coraza_common.h"

Expand Down

0 comments on commit 4e8621e

Please sign in to comment.