Escape magnet params
0.2
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
i2psnark-launcher
|
i2psnark-launcher
|
||||||
ALPHA version 0.1 2020-05-10
|
ALPHA version 0.2 2020-05-10
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
This is a simple file and URL handler script that stuffs the magnet URL
|
This is a simple file and URL handler script that stuffs the magnet URL
|
||||||
|
4
i2psnark
4
i2psnark
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# handler for i2psnark torrent files and magnet links
|
# handler for i2psnark torrent files and magnet links
|
||||||
#
|
#
|
||||||
# version 0.1
|
# version 0.2
|
||||||
#
|
#
|
||||||
# zzz 2020-05-10
|
# zzz 2020-05-10
|
||||||
#
|
#
|
||||||
@ -76,4 +76,6 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# escape magnet params
|
||||||
|
ARG=`echo "$ARG" | sed -e 's/?/%3F/g' | sed -e 's/&/%26/g'`
|
||||||
"$BROWSER" "${I2PURL}i2psnark/?nofilter_newURL=$ARG#add"
|
"$BROWSER" "${I2PURL}i2psnark/?nofilter_newURL=$ARG#add"
|
||||||
|
Reference in New Issue
Block a user