openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.79k stars 479 forks source link

[Bug]: OB1 Cookies VS OB2 Cookies #775

Open SleightX opened 2 years ago

SleightX commented 2 years ago

Version of the software

Last

Operating system

Win10

Browser / Native

Browser

What happened?

it is about two requests in OB1 everything is going well I get all the cookies in Openbullet 2 I miss 1 cookie out of all however the name of the cookie appears well in the cookies but without its value I thought it was a graphical bug so I tried storing it in a variable with no success either

Relevant LoliCode if needed

BLOCK:HttpRequest
  url = "URL"
  autoRedirect = False
  TYPE:STANDARD
  $""
  "application/x-www-form-urlencoded"
ENDBLOCK

BLOCK:Parse
  input = @data.HEADERS["Location"]
  MODE:LR
  => VAR @LINKSTART
ENDBLOCK

BLOCK:UrlDecode
  input = @LINKSTART
  => VAR @urlDecodeOutput
ENDBLOCK

BLOCK:HttpRequest
  url = $"<urlDecodeOutput>"
  TYPE:STANDARD
  $""
  "application/x-www-form-urlencoded"
ENDBLOCK

BLOCK:Parse
  input = @data.COOKIES["csrf"]
  MODE:LR
  => VAR @parseOutput
ENDBLOCK
openbullet commented 5 months ago

Any chance you could send me the URL to debug this properly? You can shoot me a DM on the forum.