-
- Downloads
dotdot: introducing dot file path cleanup
RFC3986 details how a path part passed in as part of a URI should be "cleaned" from dot sequences before getting used. The described algorithm is now implemented in lib/dotdot.c with the accompanied test case in test 1395. Bug: http://curl.haxx.se/bug/view.cgi?id=1200 Reported-by: Alex Vinnik
Showing
- lib/Makefile.inc 2 additions, 2 deletionslib/Makefile.inc
- lib/dotdot.c 170 additions, 0 deletionslib/dotdot.c
- lib/dotdot.h 25 additions, 0 deletionslib/dotdot.h
- lib/url.c 26 additions, 10 deletionslib/url.c
- tests/data/Makefile.am 1 addition, 1 deletiontests/data/Makefile.am
- tests/data/test1231 61 additions, 0 deletionstests/data/test1231
- tests/data/test1395 26 additions, 0 deletionstests/data/test1395
- tests/unit/Makefile.inc 4 additions, 1 deletiontests/unit/Makefile.inc
- tests/unit/unit1395.c 87 additions, 0 deletionstests/unit/unit1395.c
Loading
Please register or sign in to comment