Skip to content

Commit

Permalink
Merge pull request #308 from jaesung9507/webui
Browse files Browse the repository at this point in the history
[fix] webui: uri encode stream name
  • Loading branch information
q191201771 authored Aug 14, 2023
2 parents b6b6a2a + 69352b8 commit 3300df1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/logic/http_an__lal.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ <h4>Subs</h4>
}

function requestGroup() {
httpAsync("/api/stat/group?stream_name="+groupName.innerText, "GET", function(code, resp) {
let gname = encodeURIComponent(groupName.innerText);
httpAsync("/api/stat/group?stream_name="+gname, "GET", function(code, resp) {
if(code == 200) {
const obj = JSON.parse(resp);
for(let index = groupInfoTable.rows.length; index > 0; index--) {
Expand Down

0 comments on commit 3300df1

Please sign in to comment.