Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On windows path spaces should resolve to %20 #288

Merged
merged 8 commits into from
Mar 24, 2018
Merged

Conversation

shellscape
Copy link
Contributor

What kind of change does this PR introduce?

Bugfix

Did you add tests for your changes?

Yes

Summary

fixes #284, on windows path spaces should resolve to %20

Does this PR introduce a breaking change?

For implementations relying on the bug, possibly.

Other information

This PR is WIP until this line is removed, as changes will be pushed to the target branch for AppVeyor to compile, as I don't have access to Windows at the moment.

@codecov
Copy link

codecov bot commented Mar 24, 2018

Codecov Report

Merging #288 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
+ Coverage    97.2%   97.24%   +0.03%     
==========================================
  Files           6        6              
  Lines         215      218       +3     
==========================================
+ Hits          209      212       +3     
  Misses          6        6
Impacted Files Coverage Δ
lib/util.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d26c67c...bda5afa. Read the comment docs.

@shellscape shellscape merged commit 08207cc into master Mar 24, 2018
@montogeek montogeek deleted the windows-path-space branch March 24, 2018 11:30
@shellscape shellscape restored the windows-path-space branch March 24, 2018 13:33
@elios264
Copy link

elios264 commented Apr 2, 2018

You did not implement the %20 on the file system, it broke my pipeline.

capture

@shellscape
Copy link
Contributor Author

@elios264 please submit a PR with a failing test case, or submit a PR with a fix. your comment doesn't contain any useful information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

%20 in directory name breaks path validation in middleware.js
2 participants