[nanigans] Pull Request #13: Fix params from improper encoding

Abierto
#372 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
api

Línea de trabajo

Start by reviewing the migrated Pull Request #13 and the Nanigans integration code that constructs its parameters. Compare the old and desired encoding examples, then confirm the integration produces unescaped square brackets in the sku parameter without changing other encoding behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Migrated from #13 by @Peripheral1994

CC @ladanazita @hankim813

This rectifies the issue where Nanigans was receiving parameters incorrectly due to QS calling encodeURIComponent on them. We now use our own function to encode.

This relies on a report from Ladan, as I've been unable to find supporting documentation myself, so having her review would be appreciated. :)

Old behavior example: &sku%5B0%5D
New and desired behavior: &sku[0]

Lenguaje dominante
JavaScript
Estrellas
125
Forks
134
Merge medio
2 min
PR fusionados (30 d)
1

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de segmentio/analytics.js-integrations

Todos los issues de segmentio/analytics.js-integrations

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.