Skip to content

escaping untrusted input when generating URIs in api.ts #963

Closed

Description

@shiftkey

I found a single usage of Querystring.escape docs which percent-encodes the values:

const path = `repos/${Querystring.escape(owner)}/${Querystring.escape(name)}/git`

It wasn't clear from the original commit the backstory 5bd6eb7 so this is a task to follow up with @joshaber when he's back and see if this should be used more broadly than getPollInterval.

Activity

  1. added
    tech-debt
    on Feb 21, 2017
  2. joshaber commented on Mar 27, 2017

    @joshaber
    Contributor

    Yeah, we should probably be doing that generally.

  3. self-assigned this
    on Mar 27, 2017
  4. shiftkey commented on Mar 27, 2017

    @shiftkey
    MemberAuthor

    Cool, cool.

  5. removed their assignment
    on Mar 29, 2017
  6. self-assigned this
    on Jun 21, 2017
  7. locked as resolved and limited conversation to collaborators on Jul 21, 2018
  8. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tech-debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions