Open Bug 1770928 Opened 3 years ago Updated 3 years ago

httpserver should expose some sort of parseQuery function on requests for sjs files to use

Categories

(Core :: Networking, task, P3)

task

Tracking

()

People

(Reporter: standard8, Unassigned)

Details

(Whiteboard: [necko-triaged])

In a review of enabling ESLint on sjs files, Gijs pointed out that we should be using URLSearchParams in a lot of the existing parseQuery functions.

Ideally we should consider exposing a function on the request object passed to handleRequest, which would do the same as parseQuery and avoid the duplication of code across many files.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.