lfence / red-trul

29 stars 7 forks source link

decodeEntities() not decoding entity #2

Open zivkovic opened 1 month ago

zivkovic commented 1 month ago

decodeEntities() does not decode html entities characters, but should as evident in the code.

Error occurs on ffprobe part of the code, as it cannot find the file (as the file name was not decoded)

Example torrentId: 5124522

lfence commented 1 month ago

Check if https://github.com/lfence/red-trul/commit/60351eb52d4c1558033d9382551a06457ffbc27e fixes the issue. Will test it a bit more that there is no regression introduced then make a new release

On Mon, 14 Oct 2024, 10:31 Jan Živković, @.***> wrote:

decodeEntities() does not decode html entities characters, but should as evident in the code.

Error occurs on ffprobe part of the code, as it cannot find the file (as the file name was not decoded)

Example torrentId: 5124522

— Reply to this email directly, view it on GitHub https://github.com/lfence/red-trul/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWF5KMN5R2467OJZJEDJOGLZ3N6MTAVCNFSM6AAAAABP4OVUSSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DKMRTGA3TMNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

zivkovic commented 1 month ago

I tested your changes and can confirm it works.