Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

What class/parameter makes the extensions be part of the scanner "Follow redirection when necessary"

dree Mar 14, 2019 07:26PM UTC

Hi guys,

I have an extension here and I am looking for a reflective value, although when I look at flow or logger++ the 302 is hit but never followed after the POST.

Is there a special trick to have the extension follow the redirects when using IScannerCheck & doActiveScan?

Thank you very much!


Liam Tai-Hogan Mar 15, 2019 02:17PM UTC Support Center agent

Which extension are you using? Is this something you have developed?


dree Mar 15, 2019 03:08PM UTC
It is something I am currently developing yes.

dree Mar 15, 2019 03:10PM UTC
The question is really how do you ensure that the extension will get the value of the page after the redirect and not the 302 itself.


Liam Tai-Hogan Mar 18, 2019 01:37PM UTC Support Center agent

There is no automatic way to do this.

You’ll need to detect the redirect, copy the location header and perform a new request.

Please let us know if you need any further assistance.


dree Mar 20, 2019 01:53PM UTC
Perfect thanks Liam :)

Just wanted to be sure before going this way.

Cheers!

Post Your public answer

Your name
Your email address
Answer