mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Refactoring: Makes transformations to work with new execute signature
This commit is contained in:
@@ -30,10 +30,12 @@ namespace transformations {
|
||||
|
||||
class Base64Encode : public Transformation {
|
||||
public:
|
||||
explicit Base64Encode(const std::string &action) : Transformation(action) { }
|
||||
explicit Base64Encode(const std::string &action)
|
||||
: Transformation(action) { }
|
||||
|
||||
std::string execute(const std::string &exp,
|
||||
Transaction *transaction) override;
|
||||
void execute(Transaction *t,
|
||||
ModSecStackString &in,
|
||||
ModSecStackString &out) override;
|
||||
};
|
||||
|
||||
} // namespace transformations
|
||||
|
||||
Reference in New Issue
Block a user