X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/c69491f1bd5849d4b98300cd5ec91c5e5b9e3f66..3d4e4ec4af3d2ba1eb9d7bece2361ddd56d5c7ca:/channels/index.php diff --git a/channels/index.php b/channels/index.php index e08e989..82a60d1 100644 --- a/channels/index.php +++ b/channels/index.php @@ -79,7 +79,7 @@ function show_channel(e) /* For all the other columns we show the view screen */ var data = data_list_table.row(e).data(); channel = data['Name']; - window.location = '/channels/details.php?chan=' + + window.location = 'channels/details.php?chan=' + encodeURIComponent(channel); // not working: still expands on mobile: e.stopImmediatePropagation(); return true;