(rpFirst requestParams)
| 355 | } |
| 356 | |
| 357 | func secondRequest(rpFirst requestParams) ([]byte, int, reportRequest, map[string][]string, error) { |
| 358 | var parameter []string |
| 359 | if !strings.Contains(rpFirst.ogParam, NOOGPARAM) { // Only add original parameter if it existed |
| 360 | parameter = append(parameter, rpFirst.ogParam) |
| 361 | } |
| 362 | |
| 363 | rp := requestParams{ |
| 364 | parameters: parameter, |
| 365 | values: []string{"2ndrequest"}, |
| 366 | identifier: rpFirst.identifier, |
| 367 | url: rpFirst.url, |
| 368 | cb: rpFirst.cb, |
| 369 | } |
| 370 | |
| 371 | body, statusCode, repRequest, header, err := firstRequest(rp) |
| 372 | |
| 373 | return body, statusCode, repRequest, header, err |
| 374 | } |
| 375 | |
| 376 | /* return values:first bool is needed for responsesplitting, second bool is only needed for ScanParameters */ |
| 377 | func issueRequests(rp requestParams) (respsplit []string, impact bool, unkeyed bool) { |
no test coverage detected