wikihost-opensource/als

[BUG] 更新到最新版后 Web Shell 无法输入命令

Joe-Ng-1998 opened this issue · 1 comments

更新到最新版的 docker image 以后,web shell 不再能输入指令。测试环境 http://hk-bgp.hkg.lg.kuaichedao.xyz/

环境

操作系统 & Docker 版本 (lsb_release -a && docker version):

 lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
docker version
Client: Docker Engine - Community
 Version:           20.10.17
 API version:       1.41
 Go version:        go1.17.11
 Git commit:        100c701
 Built:             Mon Jun  6 23:03:17 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.17
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.11
  Git commit:       a89b842
  Built:            Mon Jun  6 23:01:23 2022
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.6.6
  GitCommit:        10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
 runc:
  Version:          1.1.2
  GitCommit:        v1.1.2-0-ga916309
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

使用的镜像版本 (docker ps | grep als):

docker ps
CONTAINER ID   IMAGE                              COMMAND                  CREATED             STATUS             PORTS     NAMES
d865009577b0   wikihostinc/looking-glass-server   "/bin/sh -c 'php81 /…"   About an hour ago   Up About an hour             looking-glass
docker images
REPOSITORY                         TAG       IMAGE ID       CREATED         SIZE
wikihostinc/looking-glass-server   latest    3a494ee0c0db   4 hours ago     80.6MB

现象

预期返回:

能够通过浏览器的 Web Shell 输入测试指令。

实际返回:

光标闪烁,但是无法输入测试指令。

samlm0 commented

已在 dd8705c 修复, 该提交使用 golang 全新重构了 ALS