IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2025/05/20
~dr|z3d
@RN
@RN_
@T3s|4
@eyedeekay
@not_bob_afk
@orignal
@postman
@zzz
%Liorar
%acetone
%cumlord
%snex
+FreefallHeavens
+H20
+Onn4l7h
+Onn4|7h
+bak83
+poriori
+profetikla
+qend-irc2p
+r00tobo
+uop23ip
+xHarr
Arch
BubbRubb1
Danny
DeltaOreo
Irc2PGuest10330
Irc2PGuest2981
Irc2PGuest45410
Irc2PGuest46844
Irc2PGuest6537
Meow
Over
Stormycloud_
ac9f
anontor
bpb
floatyfloatilla
halloy13412
leopold
mahlay
makoto
mareki2p_
nZDoYBkF_
nilbog
ntty
r00tobo[2]
simprelay
solidx66
thetia
zer0bitz
qend-irc2p Hello! I'd like to report a bug in the i2psnark standalone(https://gitlab.com/i2pplus/I2P.Plus/-/jobs/artifacts/master/raw/i2psnark-standalone.zip?job=Java8) web interface. When two different torrents (with different data_directory paths) have the same name, the interface generates the same link for both, such as: x.x.x.x:8002/i2psnark/torrent_name. This leads to undefined behavior — only one of the
qend-irc2p torrents can be accessed through the web UI, while the other becomes unreachable. If someone here is maintaining this part of the code, would it be possible to make the link unique, for example using the infohash instead: x.x.x.x:8002/i2psnark/INFOHASH
dr|z3d that's a new one.
dr|z3d I don't think we've seen that before, zzz?
dr|z3d also, hello, qend-irc2p, welcome to #saltr!
dr|z3d I'm not even sure that should be possible, there should be a naming conflict when the second torrent's data is written.
zzz pretty sure we have checks in there, but maybe they got bypassed or broken
dr|z3d I'm scratching my head.. if the torrents have different data dirs, and presumably different names, how can we get a conflict?
dr|z3d Unless the torrents themselves are being stored in different locations, but then they should be copied back to the data dir, so I'm a bit confused.
dr|z3d anyways, thanks for the report, qend-irc2p
qend-irc2p ~dr|z3d, look — if we start downloading two torrents and specify two different directories for them, but both torrents internally have a folder named, say, "New_Folder", then in the Snark web interface we'll have a single link like x.x.x.x:8002/i2psnark/New_Folder, and undefined behavior occurs when we try to view that torrent in the web interface.
qend-irc2p Yes, the downloading goes into separate directories, so there's no naming conflict, but still — the issue shows up in the web UI.
dr|z3d qend-irc2p: ok, that's fairly atypical, but we'll look into it.