{"action":"created","issue":{"url":"https://api.github.com/repos/reactivestack/cookies/issues/62","repository_url":"https://api.github.com/repos/reactivestack/cookies","labels_url":"https://api.github.com/repos/reactivestack/cookies/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/reactivestack/cookies/issues/62/comments","events_url":"https://api.github.com/repos/reactivestack/cookies/issues/62/events","html_url":"https://github.com/reactivestack/cookies/issues/62","id":209716508,"node_id":"MDU6SXNzdWUyMDk3MTY1MDg=","number":62,"title":"Expressjs server side cookie prefixed with j/s","user":{"login":"Exomnius","id":7089747,"node_id":"MDQ6VXNlcjcwODk3NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7089747?v=4","gravatar_id":"","url":"https://api.github.com/users/Exomnius","html_url":"https://github.com/Exomnius","followers_url":"https://api.github.com/users/Exomnius/followers","following_url":"https://api.github.com/users/Exomnius/following{/other_user}","gists_url":"https://api.github.com/users/Exomnius/gists{/gist_id}","starred_url":"https://api.github.com/users/Exomnius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exomnius/subscriptions","organizations_url":"https://api.github.com/users/Exomnius/orgs","repos_url":"https://api.github.com/users/Exomnius/repos","events_url":"https://api.github.com/users/Exomnius/events{/privacy}","received_events_url":"https://api.github.com/users/Exomnius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-23T10:07:54Z","updated_at":"2018-08-24T20:18:51Z","closed_at":null,"author_association":"NONE","body":"I have a reactjs application that uses SSR and runs on an Expressjs node server. For my current case I need to set a cookie during the SSR and read in on the client-side in the browser.\r\n\r\nThe issue is that whenever I set a cookie with a value that contains an object during SSR, the cookie value will be prefixed with a j:. When I try to read the cookie on the client-side, I need to perform extra parsing.\r\n\r\nThe reason for this is that whenever I set a cookie server-side, Expressjs prefixes the cookie with j: if it is an object and s: if it is a signed cookie. \r\n\r\nIs it possible to take the prefixes into account when loading the cookie client-side?\r\n\r\nRegards\r\nCornel Janssen\r\n"},"comment":{"url":"https://api.github.com/repos/reactivestack/cookies/issues/comments/415871469","html_url":"https://github.com/reactivestack/cookies/issues/62#issuecomment-415871469","issue_url":"https://api.github.com/repos/reactivestack/cookies/issues/62","id":415871469,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTg3MTQ2OQ==","user":{"login":"eXon","id":280982,"node_id":"MDQ6VXNlcjI4MDk4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/280982?v=4","gravatar_id":"","url":"https://api.github.com/users/eXon","html_url":"https://github.com/eXon","followers_url":"https://api.github.com/users/eXon/followers","following_url":"https://api.github.com/users/eXon/following{/other_user}","gists_url":"https://api.github.com/users/eXon/gists{/gist_id}","starred_url":"https://api.github.com/users/eXon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXon/subscriptions","organizations_url":"https://api.github.com/users/eXon/orgs","repos_url":"https://api.github.com/users/eXon/repos","events_url":"https://api.github.com/users/eXon/events{/privacy}","received_events_url":"https://api.github.com/users/eXon/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T20:18:51Z","updated_at":"2018-08-24T20:18:51Z","author_association":"COLLABORATOR","body":"@YPCrumble I'm very reluctant to add anything express-specific. Especially because it is not in the RFC. However, express makes it impossible to "}}
{"actor":{"display_login":"eXon"}}