LorenzHetterich / CTFHelperJava

2 stars 1 forks source link

Follow Redirects #2

Closed LorenzHetterich closed 4 months ago

LorenzHetterich commented 9 months ago

Affected Components

CTFd API

Current State

Currently, the CTFd API will not follow redirects as this sometimes breaks setting cookies correctly. However, when downloading challenge files redirects are often required.

Suggestion

Allow API to follow redirects. Probably even follow all redirects by default. Of course, this means cookie handling has to change as well.

LorenzHetterich commented 5 months ago

Following redirects for now. However, this may requires some cookies to be set manually (using the /ctfd-cookie command).