Commit Graph
7 Commits
Author SHA1 Message Date
chenxing d4432ef9e9 build: 重新注入含 service URL 解码的 LoginController.class 到 docker/cas.war
deploy-cassso-service / build-deploy (push) Successful in 52s
后端发布不走源码编译,CI 直接 COPY 仓库内 docker/cas.war 进镜像。
此前仅提交 LoginController.java 源码不生效,导致 CI 重建时用旧 war 覆盖了解码改动。
现用 javac(JDK8) 编译带 URLDecoder.decode 的 LoginController,注入 docker/cas.war 并提交,
保证生产镜像包含 service 解码逻辑(前端已还原不解码,仅后端解码)。
2026-08-06 21:00:47 +08:00
chenxing 4e325c3f2c fix: 在后端对 service 参数做 URL 解码,移除前端解码依赖
deploy-cassso-service / build-deploy (push) Successful in 25s
前端 bschlogin.js 的 getQueryVariable 未对 query value 做 decodeURIComponent,
会把浏览器地址栏里百分号编码态的 service(http%3A%2F%2F...) 原样 POST 给后端,
导致 WebApplicationServiceFactory.createService 拿到的仍是编码串,CAS 服务注册表
正则 ^(https|imaps|http)://.* 匹配不到而抛 UnauthorizedServiceException
(带 service 登录报"建立会话失败")。改为在后端 login() 入口统一解码,方便后续扩展。
2026-08-06 20:56:27 +08:00
chenxing a6a2ccb308 fix: build+run image locally (skip nexus push; nexus docker registry is HTTP)
deploy-cassso-service / build-deploy (push) Successful in 1m17s
2026-08-05 10:48:40 +08:00
chenxing 1eb8022742 fix: use 192.168.10.160:8083 (host-published nexus) instead of bare 'nexus' hostname
deploy-cassso-service / build-deploy (push) Failing after 9s
2026-08-05 10:32:46 +08:00
chenxing 43731034e8 fix: drop git-lfs from workflow (server LFS disabled)
deploy-cassso-service / build-deploy (push) Failing after 2s
2026-08-05 10:21:33 +08:00
chenxing b3d25d309c chore: store cas.war as normal blob (server LFS disabled, raised FILE_MAX_SIZE)
deploy-cassso-service / build-deploy (push) Failing after 4s
2026-08-05 10:12:42 +08:00
chenxing 3bd14554ec init: CasSsoService CAS 5.3 overlay (cas.war via LFS) 2026-08-05 09:53:49 +08:00