500 error when torrent is created #2

Open
opened 2025-03-09 00:22:13 +00:00 by CJ_Clippy · 0 comments
Owner
00:20:41.970 request_id=GCr6gfJ6ZXW31CgAAA-i [error] ** (ArgumentError) unsupported scheme given to <.link>. In case you want to link to an
unknown or unsafe scheme, such as javascript, use a tuple: {:javascript, rest}

    (phoenix_live_view 1.0.2) lib/phoenix_live_view/utils.ex:575: Phoenix.LiveView.Utils.valid_string_destination!/2
    (phoenix_live_view 1.0.2) lib/phoenix_component.ex:2939: Phoenix.Component."link (overridable 1)"/1
    (phoenix_live_view 1.0.2) lib/phoenix_live_view/tag_engine.ex:96: Phoenix.LiveView.TagEngine.component/3
    (bright 0.1.0) lib/bright_web/controllers/torrent_html/summary.html.heex:5: anonymous fn/2 in BrightWeb.TorrentHTML.summary/1
    (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:149: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/1
    (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:161: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/3
    (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:105: Phoenix.HTML.Safe.Phoenix.LiveView.Comprehension.to_iodata/2
    (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:110: Phoenix.HTML.Safe.Phoenix.LiveView.Comprehension.to_iodata/2

``` 00:20:41.970 request_id=GCr6gfJ6ZXW31CgAAA-i [error] ** (ArgumentError) unsupported scheme given to <.link>. In case you want to link to an unknown or unsafe scheme, such as javascript, use a tuple: {:javascript, rest} (phoenix_live_view 1.0.2) lib/phoenix_live_view/utils.ex:575: Phoenix.LiveView.Utils.valid_string_destination!/2 (phoenix_live_view 1.0.2) lib/phoenix_component.ex:2939: Phoenix.Component."link (overridable 1)"/1 (phoenix_live_view 1.0.2) lib/phoenix_live_view/tag_engine.ex:96: Phoenix.LiveView.TagEngine.component/3 (bright 0.1.0) lib/bright_web/controllers/torrent_html/summary.html.heex:5: anonymous fn/2 in BrightWeb.TorrentHTML.summary/1 (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:149: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/1 (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:161: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/3 (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:105: Phoenix.HTML.Safe.Phoenix.LiveView.Comprehension.to_iodata/2 (phoenix_live_view 1.0.2) lib/phoenix_live_view/engine.ex:110: Phoenix.HTML.Safe.Phoenix.LiveView.Comprehension.to_iodata/2 ```
CJ_Clippy added the
bug
label 2025-03-09 10:15:59 +00:00
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: futureporn/fp#2
No description provided.