Sanitize FileName string
For security reasons, the FileName string must be sanitized.
Resolves openbmc/openbmc#1331
Change-Id: I90aeda32421caf16e6919cffb71dd0450e4cf868
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/download_manager.hpp b/download_manager.hpp
index b78dc4b..2ee03fb 100644
--- a/download_manager.hpp
+++ b/download_manager.hpp
@@ -36,8 +36,8 @@
* @param[in] fileName - The name of the file to transfer.
* @param[in] serverAddress - The TFTP Server IP Address.
**/
- void downloadViaTFTP(const std::string fileName,
- const std::string serverAddress) override;
+ void downloadViaTFTP(std::string fileName,
+ std::string serverAddress) override;
};
} // namespace manager