getCookie method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- web-dev
Research direction
The issue only provides the getCookie function and its getCookie('csrfToken') call; start by locating this function in the repository and inspecting the actual cookie string and call site. Confirm why the csrfToken lookup returns null, then verify that the method returns the token when the cookie is present.
Written by the indexing model from the issue text.
Description
function getCookie(name) {
var v = document.cookie.match('(^|;) ?'+ name + '=([^;]*)(;|$)');
return v ? v[2] : null;
}
always returns null when called for getCookie('csrfToken').
- Dominant language
- JavaScript
- Stars
- 933
- Forks
- 426
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/quickstart-nodejs
-
Ok Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
firebase/quickstart-nodejs#305 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/quickstart-nodejs#253 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
firebase/quickstart-nodejs#194 · 3 comments · 8 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
firebase/quickstart-nodejs#183 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 24/100
firebase/quickstart-nodejs#106 · 6 comments · 3 reactions ·
All issues in firebase/quickstart-nodejs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·