6c65726f79 / Transmissionic

Remote for Transmission Daemon
MIT License
425 stars 30 forks source link

Error "t.charCodeAt is not a function" when adding some specific magnetic link #1384

Open monologconnor opened 8 months ago

monologconnor commented 8 months ago

Describe the bug Some specific magnetic link could not be added through Transmissionic, no matter Android client or Web page. but successfully added via other Transmission-Supported clients(e.g. Transdrone). Common properties on those failing magnetic link was not figured out yet, but an example will be shown below.

To Reproduce Steps to reproduce the behavior:

  1. Go to the main page of Transmissionic
  2. Click on 'Add Magnetic Link' Button
  3. Fill the link: magnet:?xt=urn:btih:U27DMI6B2HGRZRJOZHEF6SFDUDJ47ZPA then confirm
  4. Error shows t.charCodeAt is not a function

Platform:

ivanjx commented 5 months ago

fixed by updating torrent parser package https://github.com/ivanjx/Transmissionic/commit/85dc9e0611aa4b7d3ecfae6b4dd0d84b1fdf2304#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519