nichtsen
bf11618921
update CHANGELOG.md
2021-09-08 15:07:37 +08:00
nichtsen
a3d2dd12d6
deepsource: fix Control-coupled functions detected
2021-09-08 14:40:46 +08:00
nichtsen
16549e5019
deepsource: fix confusing naming of struct fields
2021-09-08 14:03:59 +08:00
nichtsen
1a52d005b1
logs: fix comment spelling
2021-09-07 19:18:02 +08:00
nichtsen
cc19834f79
deepsource: removing unused method receiver
2021-09-07 19:14:49 +08:00
nichtsen
9587f6d16c
deepsource: empty string test improving
2021-09-07 19:12:19 +08:00
nichtsen
435196300e
deepsource: simplify error construction
2021-09-07 19:08:55 +08:00
nichtsen
9212d69383
logs: add tests for directory permissions
2021-09-07 19:07:20 +08:00
nichtsen
918bc8d11c
add comments for Perm and DirPerm
2021-09-07 18:27:52 +08:00
nichtsen
8b57b22c20
fix numeric notation of permissions
2021-09-07 16:14:43 +08:00
Ming Deng
d01f2dddcc
Merge pull request #4756 from a631807682/fix/issue4674
...
fix(orm): txOrm miss debug log
2021-09-07 10:45:55 +08:00
Cr
b1fbaa71c3
refactor: fix deepsource analyze
2021-09-07 09:51:33 +08:00
Cr
47f9746e11
refactor: fix deepsource analyze
2021-09-07 09:43:27 +08:00
Cr
7abf5669e4
refactor(wip): fix deepsource analyze
2021-09-06 16:48:22 +08:00
Cr
915cdb94bc
refactor(wip): fix deepsource analyze
2021-09-06 16:04:03 +08:00
Cr
d6866b6b2e
refactor(wip): fix deepsource analyze
2021-09-06 14:05:19 +08:00
Cr
0e9b2c27ea
fix(orm): txOrm miss debug log
2021-09-03 14:23:09 +08:00
Ming Deng
556e743c84
Merge pull request #4760 from flycash/develop
...
Merge master. Prepare for release
2021-09-03 12:55:52 +08:00
Ming Deng
4437c6eb11
merge master
2021-09-03 11:40:13 +08:00
Ming Deng
9f12707dee
Merge pull request #4757 from a631807682/fix/issue4698
...
fix(core/config/xml): prompt error when config format is incorrect
2021-08-31 22:58:38 +08:00
chenrui
49cec8fef0
chore: change log
2021-08-31 16:05:00 +08:00
chenrui
bf815a310d
fix: word error
2021-08-31 15:23:11 +08:00
chenrui
8bfee444fd
fix(core/config/xml): prompt error when config format is incorrect
2021-08-31 15:20:11 +08:00
Ming Deng
56282466bc
Merge pull request #4755 from flycash/develop
...
Remove goyaml2 dependencies
2021-08-30 23:30:44 +08:00
Ming Deng
28a6821b32
Remove goyaml2 dependencies
2021-08-30 23:10:26 +08:00
Ming Deng
7ea6609db0
Merge pull request #4747 from flycash/fix-label
...
Fix label name
2021-08-25 10:33:01 +08:00
Ming Deng
2f7d1f5cff
Fix label name
2021-08-25 10:31:49 +08:00
Ming Deng
3f693d735d
Merge pull request #4742 from flycash/fix4728
...
Fix 4741: Delete set id to 0
2021-08-25 10:30:01 +08:00
Ming Deng
745dcf1ead
Merge pull request #4740 from zh199225/develop
...
set a default value "/" for "Path" in the Cookie function when there is not parameter "Path" or the parameter is ""
2021-08-20 19:38:18 +08:00
Ming Deng
2ba502538a
Merge pull request #4740 from zh199225/develop
...
set a default value "/" for "Path" in the Cookie function when there is not parameter "Path" or the parameter is ""
2021-08-20 17:53:38 +08:00
zh199225
5f091921af
Update CHANGELOG.md
...
When the URL is end with "/", and the parameter "Path" of Cookie() Function is "", the "Path" of cookie that set in browser will not be the default value "/"., I think it's incorrect. When the URL is not end with "/", it's correct.
2021-08-20 09:28:16 +08:00
zh199225
326fea768a
Always set a default value "/" for Cookie "Path"
...
When the URL is end with "/", and the parameter "Path" of SetCookie() Function is "", the "Path" of cookie that set in browser will not be the default value "/"., I think it's incorrect. When the URL is not end with "/", it's correct.
2021-08-20 09:23:03 +08:00
Ming Deng
29123f7d81
Merge pull request #4738 from flycash/fix4728
...
Fix 4734: do not reset id in Delete function
2021-08-19 21:52:06 +08:00
Ming Deng
d91a22c453
Fix 4734: do not reset id in Delete function
2021-08-19 21:45:33 +08:00
Ming Deng
cf00f74882
Merge pull request #4736 from zh199225/develop
...
修正:XSRFToken函数在特定情况下会产生多个不同Path的_xsrf同名cookie
2021-08-19 20:48:39 +08:00
Ming Deng
bb0772c83b
Merge pull request #4737 from flycash/fix4728
...
Fix 4728: Print wrong file name
2021-08-19 20:42:33 +08:00
zh199225
414862a94c
Update CHANGELOG.md
2021-08-19 20:34:32 +08:00
Ming Deng
334609a1ea
Fix 4728: Print wrong file number
2021-08-19 20:20:01 +08:00
zh199225
ee7e5ab6a8
修正:XSRFToken函数在特定情况下会产生多个不同Path的_xsrf同名cookie
...
例如:访问”/login“页面,有个表单,此时会产生一个_xsrf cookie,Path为”/“,此时手动删除_xsrf cookie,Post提交到“/test/post”,会报错expected XSRF not found;后退到”/login“页面,会产生一个Path为”/login“的_xsrf cookie,然后访问"/"根页面,再回到"/login"页面,这时会产生两个_xsrf cookie,Path分别为"/"和”/login",再向"/test/post"页面提交,后端就可能读到错误的_xsrf cookie造成XSRF验证失败。
在XSRFToken函数中,将SetSecureCookie函数中的Path参数固定为"/",可以解决这个问题
2021-08-19 13:08:29 +08:00
Ming Deng
b58e2b5311
Merge pull request #4732 from flycash/develop
...
Update issue template
2021-08-18 22:47:01 +08:00
Ming Deng
a64c7e678a
Update issue template
2021-08-18 22:46:00 +08:00
Ming Deng
9f24a816b3
Merge pull request #4731 from flycash/develop
...
Add actions to close non-English issues and non-feedback issues
2021-08-18 22:32:11 +08:00
Ming Deng
ffb329f753
Add two more actions
2021-08-18 22:22:19 +08:00
Ming Deng
591280b9fd
Merge pull request #4729 from flycash/fixCSS
...
Fix 4727: CSS when the request URI is invalid
2021-08-17 00:39:15 +08:00
Ming Deng
e37e84b3d7
Fix 4727: CSS when the request URI is invalid
2021-08-17 00:36:42 +08:00
Ming Deng
419e395d78
Merge pull request #4718 from flycash/refactor-ctx
...
Refator: Remove methods to web.context.Context
2021-08-12 21:45:57 +08:00
Ming Deng
e7d91a2bed
Refator:
...
1. Move BindXXX core logic to context.Context for two reasons:
1.1 Controller should be stateless -- Due to historical reason, it's hard for us to do this but we should try it
1.2 If users didn't use Controller to write their functions, they should be allowed to use those methods
2. Move XXXResp to context.Context
2021-08-10 23:27:06 +08:00
Ming Deng
17e857a762
Merge pull request #4716 from jianzhiyao/master
...
hotfix:reflect.ValueOf(nil) in getFlatParams
2021-08-06 00:27:58 +08:00
Ming Deng
0ace49bd46
Merge pull request #4715 from jianzhiyao/develop
...
fix bug:reflect.ValueOf(nil) in getFlatParams
2021-08-06 00:26:54 +08:00
Anker Jam
72f24210e8
changelog
2021-08-06 00:25:27 +08:00