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

Fix safe_join to handle trailing slash with intermediate paths #341

Merged
merged 1 commit into from
Jun 22, 2017
Merged

Fix safe_join to handle trailing slash with intermediate paths #341

merged 1 commit into from
Jun 22, 2017

Conversation

jdufresne
Copy link
Contributor

Regression introduced in 895a068

Partially reverts 39a2a7a


@jschneier Apologies for the 2nd round of regression fixes. I believe I've covered all edge cases with this fix. I have added many more unit tests and more thoroughly tested against my own projects. All feedback welcome. If the diff looks good, I'd appreciate if a new release could get cut as my previous changes to safe_join() is broken. Thanks!

@codecov-io
Copy link

codecov-io commented Jun 22, 2017

Codecov Report

Merging #341 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #341      +/-   ##
==========================================
+ Coverage   75.61%   75.63%   +0.01%     
==========================================
  Files          11       11              
  Lines        1542     1547       +5     
==========================================
+ Hits         1166     1170       +4     
- Misses        376      377       +1
Impacted Files Coverage Δ
storages/utils.py 96.87% <100%> (-3.13%) ⬇️

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 39f9b80...d1c63d1. Read the comment docs.

@jschneier jschneier merged commit 112ae43 into jschneier:master Jun 22, 2017
@jschneier
Copy link
Owner

This project has been critically under-tested since I obtained, part of the reason I am hesitant to release so it's not that big of a surprise. Thanks for the vigilance.

@jleclanche
Copy link
Contributor

@jschneier don't be hesitant to make fast releases! IMHO it'll only get more testing if the pypi tip is kept close to master.

@jschneier
Copy link
Owner

I released 1.6.2 with this fix.

@jschneier
Copy link
Owner

@jleclanche yeah, a good point.

@jdufresne jdufresne deleted the safe-url branch June 23, 2017 12:54
@rahul6612
Copy link

please someone help #608

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.

5 participants