diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-25 22:50:49 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-25 22:50:49 +0000 |
commit | fed2216d997d57c2931fd59946c6d48bc9544311 (patch) | |
tree | 2da8717933959a63b20d128ed08342facc02c5a9 /include | |
parent | 52e139da19b6b1aed81e6d1c3ee3ad8712ce2273 (diff) |
Remove the ServerConfig::DirValid check that breaks symlinks
This was included as a security check to prevent symlink attacks,
but this is no longer useful; anyone who can exploit the attack now
can just modify the ircd itself.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configreader.h b/include/configreader.h index 3eb456b1f..d0feaccbb 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -905,12 +905,6 @@ class CoreExport ServerConfig : public Extensible */ std::string GetFullProgDir(); - /** Returns true if a directory is valid (within the modules directory). - * @param dirandfile The directory and filename to check - * @return True if the directory is valid - */ - static bool DirValid(const char* dirandfile); - /** Clean a filename, stripping the directories (and drives) from string. * @param name Directory to tidy * @return The cleaned filename |