mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-06 17:31:12 -03:00
reverted add-slash change in heuristics
This commit is contained in:
@@ -157,14 +157,7 @@ impl HeuristicTests {
|
||||
|
||||
let unique_str = self.unique_string(length);
|
||||
|
||||
// To take care of slash when needed
|
||||
let slash = if self.handles.config.add_slash {
|
||||
Some("/")
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
let nonexistent_url = target.format(&unique_str, slash)?;
|
||||
let nonexistent_url = target.format(&unique_str, None)?;
|
||||
|
||||
let response = logged_request(&nonexistent_url.to_owned(), self.handles.clone()).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user