firebase / firebase/quickstart-nodejs

getCookie method

Abierto
#91 0 comentarios 0 reacciones 0 asignados Ver en GitHub
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

Abrir la 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.