Skip to content

Commit

Permalink
Update test/sharness/t0115-gateway-dir-listing.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Davis <nospam@iandavis.com>
  • Loading branch information
lidel and iand authored Jul 21, 2022
1 parent 35e346e commit 68d8236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sharness/t0115-gateway-dir-listing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test_expect_success "path gw: backlink on root CID should be hidden" '
test_should_not_contain "<a href=\"/ipfs/$DIR_CID/\">..</a>" list_response
'

test_expect_success "path gw: redirect dir listing to URL with traling slash" '
test_expect_success "path gw: redirect dir listing to URL with trailing slash" '
curl -sD - http://127.0.0.1:$GWAY_PORT/ipfs/${DIR_CID}/ą/ę > list_response &&
test_should_contain "HTTP/1.1 301 Moved Permanently" list_response &&
test_should_contain "Location: /ipfs/${DIR_CID}/%c4%85/%c4%99/" list_response
Expand Down

0 comments on commit 68d8236

Please sign in to comment.