mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 05:25:26 +00:00
fix typos
This commit is contained in:
parent
7f82270ea7
commit
e229a3eccc
@ -114,11 +114,11 @@ func (r *requestGenerator) makeHTTPRequestFromModel(ctx context.Context, data st
|
|||||||
|
|
||||||
// makeHTTPRequestFromRaw creates a *http.Request from a raw request
|
// makeHTTPRequestFromRaw creates a *http.Request from a raw request
|
||||||
func (r *requestGenerator) makeHTTPRequestFromRaw(ctx context.Context, baseURL, data string, values, payloads map[string]interface{}) (*generatedRequest, error) {
|
func (r *requestGenerator) makeHTTPRequestFromRaw(ctx context.Context, baseURL, data string, values, payloads map[string]interface{}) (*generatedRequest, error) {
|
||||||
return r.handleRawWithPaylods(ctx, data, baseURL, values, payloads)
|
return r.handleRawWithPayloads(ctx, data, baseURL, values, payloads)
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleRawWithPaylods handles raw requests along with paylaods
|
// handleRawWithPayloads handles raw requests along with payloads
|
||||||
func (r *requestGenerator) handleRawWithPaylods(ctx context.Context, rawRequest, baseURL string, values, generatorValues map[string]interface{}) (*generatedRequest, error) {
|
func (r *requestGenerator) handleRawWithPayloads(ctx context.Context, rawRequest, baseURL string, values, generatorValues map[string]interface{}) (*generatedRequest, error) {
|
||||||
// Combine the template payloads along with base
|
// Combine the template payloads along with base
|
||||||
// request values.
|
// request values.
|
||||||
finalValues := generators.MergeMaps(generatorValues, values)
|
finalValues := generators.MergeMaps(generatorValues, values)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user