vladimirs-git / fortigate-api

Python package for configuring Fortigate (Fortios) devices using REST API
Apache License 2.0
61 stars 18 forks source link

Support the new authentication cookie format ccsrftoken_443_3334d10 #18

Closed james-bellamy closed 10 months ago

james-bellamy commented 10 months ago

The cookie name has changed from ccsrftoken_443 to ccsrftoken_443_3334d10, and given that it seems to be changing every version, allow any cookie that starts with ccsrftoken.

vladimirs-git commented 10 months ago

I cannot accept the regex '.*'. Please try version 1.2.5 where your problem is fixed. Your case is added to test.

james-bellamy commented 10 months ago

Closing as a better fix has been implemented. I appreciate how quickly you addressed the problem.