luckycat0426

Results 16 comments of luckycat0426

看起来像是计算机代理问题,使用的时候检查一下本机的代理软件

@2439905184 可以先使用这个编译好的包 [biliup-app_0.3.3_amd64 (2).zip](https://github.com/ForgQi/biliup-app/files/9052066/biliup-app_0.3.3_amd64.2.zip) 后续会在action中添加支持deepin的编译

![image](https://user-images.githubusercontent.com/18507944/141125224-51b8cde5-205b-4113-beb7-ad6f4ad56944.png) post 主体也有所不同

```javascript // 登录前校验 function checkForm() { var cllt = $("#cllt").val(); if(cllt=='userNameLogin'){ if(utils.requireInput($(LOGIN_USERNAME_ID),0,100,$("#showErrorTip"),inputUserNameTip,$(LOGIN_USERNAME_ID).parent()) || utils.requireInput($(LOGIN_PASSWORD_ID),0,32,$("#showErrorTip"),inputPasswordTip,$(LOGIN_PASSWORD_ID).parent())){ return; } if (needCaptcha && captchaSwitch == "1" && utils.requireInput($(LOGIN_CAPTCHA_ID),0,10,$("#showErrorTip"),inputCodeTip,$(LOGIN_CAPTCHA_ID).parent())) { return; } $("#saltPassword").val(encryptPassword($(LOGIN_PASSWORD_ID).val(),$("#pwdEncryptSalt").val())); $(LOGIN_PASSWORD_ID).attr("disabled","disabled"); }else...

根据网页抓的post请求构造了 ![image](https://user-images.githubusercontent.com/18507944/141141609-279ed80a-952f-4b93-bb10-9dd63b9d6786.png) post body ,最后返回结果是200,不是302重定向, ![image](https://user-images.githubusercontent.com/18507944/141142155-0aff9d21-31dc-4a17-ae2d-7ab56dfffda6.png) 明天再看看往手机抓到的网址发包返回结果如何 遇到困难睡大觉:)

![image](https://user-images.githubusercontent.com/18507944/141318713-9ba444db-192c-4ba9-bf97-3ec64495850e.png) @Juaran 我这里清除掉route信息后再登陆,获得的响应是302,重新跳转到登陆界面,而不是200

现在遇到一个问题,在cea中发送POST请求到 > https://fzu.campusphere.net/iap/loginSuccess?sessionToken=73de651dba294f7981f5ca99eb528290 不管账号密码是否正确,永远返回200,检查body为登录界面 用POSTMAN 发包,如果密码错误,将会返回401 状态码. ![image](https://user-images.githubusercontent.com/18507944/141449575-db574a87-9c35-4e50-bebe-b8b947f0169f.png)

检查了一下,是header里面的cookie 中的JSESSIONID与请求url对不上的原因,不管请求什么,都会返回200

刚刚看到,我等下回去发个账号

.....URLSearchParams 这个对象是不是限制了长度,发现execution被截断了.