CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sanitizer::UriSanitizer Class Reference

#include <sanitizer.h>

Inheritance diagram for sanitizer::UriSanitizer:
Collaboration diagram for sanitizer::UriSanitizer:

Public Member Functions

 UriSanitizer ()
- Public Member Functions inherited from sanitizer::InputSanitizer
 InputSanitizer (const std::string &whitelist)
 InputSanitizer (const std::string &whitelist, int max_length)
virtual ~InputSanitizer ()
std::string Filter (const std::string &input) const
bool IsValid (const std::string &input) const

Additional Inherited Members

- Protected Member Functions inherited from sanitizer::InputSanitizer
bool Sanitize (const std::string &input, std::string *filtered_output) const
virtual bool Sanitize (std::string::const_iterator begin, std::string::const_iterator end, std::string *filtered_output) const
bool CheckRanges (const char chr) const

Detailed Description

There could be more on the whitelist but this is already sufficient for the octopus web service. It includes the whitelist for valid repositories.

Definition at line 133 of file sanitizer.h.

Constructor & Destructor Documentation

sanitizer::UriSanitizer::UriSanitizer ( )

Definition at line 135 of file sanitizer.h.

The documentation for this class was generated from the following file: