Skip to content

panic on empty cookies #5

@kmeaw

Description

@kmeaw

goroutine 1 [running]:
SaaS/board.(*Board).getCFCookie(0xc42009c960, 0xc4200901e0, 0x11, 0x0, 0x0)
        /home/kmeaw/src/go/src/SaaS/board/board.go:134 +0x28e
SaaS/board.NewBoard(0xc4200901c0, 0x1b, 0xc4200901e0, 0x11, 0xc42010c000, 0x90, 0x0, 0x0, 0xc42004de30, 0x4c83b8, ...)
        /home/kmeaw/src/go/src/SaaS/board/board.go:97 +0x218
SaaS/HTTPPlayer.NewHTTPPlayer(0xc42008e530, 0x4, 0x0, 0x0, 0xc42010c000, 0x90, 0xc42008e510, 0xf, 0xc4200901e0, 0x11, ...)
        /home/kmeaw/src/go/src/SaaS/HTTPPlayer/HTTPPlayer.go:81 +0x268
main.main()
        /home/kmeaw/src/go/src/SaaS/SaaS.go:49 +0x1c5

I don't have cookies in my session (and everything actually works without them or when cookies are filled with dummy value "1").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions