mirror of
https://github.com/chainreactors/spray.git
synced 2025-06-21 10:21:50 +00:00
fix: addition word not safe join path, https://github.com/chainreactors/spray/issues/106
This commit is contained in:
parent
104d41380e
commit
ff06fd1902
@ -244,6 +244,7 @@ Loop:
|
|||||||
pool.wg.Done()
|
pool.wg.Done()
|
||||||
} else {
|
} else {
|
||||||
pool.urls.Store(unit.path, nil)
|
pool.urls.Store(unit.path, nil)
|
||||||
|
unit.path = pool.safePath(unit.path)
|
||||||
unit.number = pool.wordOffset
|
unit.number = pool.wordOffset
|
||||||
pool.reqPool.Invoke(unit)
|
pool.reqPool.Invoke(unit)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user