mirror of
https://github.com/curl/curl.git
synced 2026-08-04 22:36:14 +03:00
IPFS: bugfixes
- Fixed endianness bug in gateway file parsing
- Use IPFS_PATH in tests where IPFS_DATA was used
- Fixed typos from traling -> trailing
- Fixed broken link in IPFS.md
Follow-up to 859e88f653
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/12152#issuecomment-1798214137
Closes #12305
This commit is contained in:
parent
9588528a0b
commit
d06643812c
5 changed files with 9 additions and 11 deletions
|
|
@ -31,11 +31,10 @@ Hello curl from IPFS
|
|||
http
|
||||
</server>
|
||||
<setenv>
|
||||
HOME=%PWD/%LOGDIR
|
||||
IPFS_DATA=$HOME/.ipfs
|
||||
IPFS_PATH=%LOGDIR/.ipfs
|
||||
</setenv>
|
||||
<name>
|
||||
IPFS with IPFS_DATA set, no traling slash
|
||||
IPFS with IPFS_PATH set, no trailing slash
|
||||
</name>
|
||||
<command>
|
||||
ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
|
||||
|
|
|
|||
|
|
@ -31,11 +31,10 @@ Hello curl from IPFS
|
|||
http
|
||||
</server>
|
||||
<setenv>
|
||||
HOME=%PWD/%LOGDIR
|
||||
IPFS_DATA=$HOME/.ipfs/
|
||||
IPFS_PATH=%LOGDIR/.ipfs/
|
||||
</setenv>
|
||||
<name>
|
||||
IPFS with IPFS_DATA set, with traling slash
|
||||
IPFS with IPFS_PATH set, with trailing slash
|
||||
</name>
|
||||
<command>
|
||||
ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
|
||||
|
|
|
|||
|
|
@ -17,11 +17,10 @@ IPFS
|
|||
http
|
||||
</server>
|
||||
<setenv>
|
||||
HOME=%PWD/%LOGDIR
|
||||
IPFS_DATA=%HOME/.ipfs/
|
||||
IPFS_PATH=%LOGDIR/.ipfs/
|
||||
</setenv>
|
||||
<name>
|
||||
IPFS with IPFS_DATA, no gateway file
|
||||
IPFS with IPFS_PATH, no gateway file
|
||||
</name>
|
||||
<command>
|
||||
ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue