Merge pull request #308 from jaesung9507/webui

[fix] webui: uri encode stream name
pull/312/head
yoko 2 years ago committed by GitHub
commit 3300df1f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -499,7 +499,8 @@
}
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--) {

Loading…
Cancel
Save