Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

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.

Written by the indexing model from the issue text.

Description

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]

Dominant language
JavaScript
Stars
125
Forks
134
Avg merge
4d 1h
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from segmentio/analytics.js-integrations

All issues in segmentio/analytics.js-integrations

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.