firebase / firebase/quickstart-nodejs
getCookie method
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 933
- Forks
- 425
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
function getCookie(name) {
var v = document.cookie.match('(^|;) ?'+ name + '=([^;]*)(;|$)');
return v ? v[2] : null;
}
always returns null when called for getCookie('csrfToken').
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100