Skip to content

minor: Doesn't support some characters like #. Simple fix #170

Closed

Description

@LukeMagill

So, I was trying to serve an image called something like 'awsome picture #1.jpg' and it can't handle the # character. I think there are other characters it can't handle too. I fixed it locally by going to node-static.js and replacing all occurences of the function decodeURI with decodeURIComponent (there are only 2). This seems to work correctly.

Activity

  1. ravinggenius commented on Mar 30, 2016

    @ravinggenius

    I'm also getting this issue. I'm developing a simple static site with JSPM and System.js. One of the vendor files is located at jspm_modules/npm/es5-ext@0.10.11/string/#/contains.js, which is requested as jspm_modules/npm/es5-ext@0.10.11/string/%23/contains.js. node-static cli cannot find the resource and returns a 404.

  2. added a commit that references this issue on Jun 10, 2021
    351a54b
  3. added a commit that references this issue on Jul 25, 2021
    75e88e0
  4. added 2 commits that reference this issue on Aug 10, 2021
    14b2cf8
    36eb933
  5. added 11 commits that reference this issue on Jan 11, 2022
    8d66481
    a302912
    e33b20e
    3756e18
    70056da
    a38f1cc
    bb74976
    859339f
    7b08b22
    b5aa769
    565fdd8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions