1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-10 21:40:54 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
jianzhiyao
678b90385b add log 2020-07-14 09:57:13 +08:00
jianzhiyao
5940ae33c2 fix index out of range when sid len = 1
add unit test for sess_file.go
2020-07-13 19:14:53 +08:00
Ming Deng
3ce68d6a30 Move many PR's change here since the original authors are responseless 2020-06-23 23:14:51 +08:00
Nico Waisman
f99cbe0fa4
Change permission mask 2020-04-22 08:42:54 -07:00
Sergey
d7430eb921
SessionRead: check of the length for input sid variable 2019-02-04 11:03:27 +05:00
lock
9865779f14 security question, fix arbitrary file read 2018-11-07 11:31:27 +08:00
astaxie
0fbbc67c3d
Merge pull request #2961 from zhlicen/master
Add lock while releasing session
2017-12-06 14:44:25 +08:00
HANG ZHOU
ed73bdcfab
Add lock while releasing session
Solve the problem of SessionRead failure while ReleaseSession is in progress
2017-12-05 16:18:56 +08:00
Daniel Lin
72ec4df679 Merge branch 'master' into master 2017-10-17 04:30:59 -05:00
hzlinqien
b91263a254 misc: fix typos 2017-10-17 17:27:03 +08:00
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
liming
872a964145 1.add "defer f.close()" in SessionRead to fix file handle leak if DecodeGob failed
2.rewrite SessionRegenerate
2017-02-09 14:18:30 +08:00
astaxie
0ef357ebd7 session:output error 2016-09-11 21:02:11 +08:00
youngsterxyf
56860d1fea not just export a variable 2016-03-25 10:48:59 +08:00
youngsterxyf
3300db832b in session package, add a helpful variable SLogger to help subpackage logging information 2016-03-24 22:43:57 +08:00
astaxie
172894efe8 golint session 2015-09-12 22:53:55 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
51ee1e77c2 beego: close the file when finish init 2014-08-18 14:42:17 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie
4245521660 fix #576 2014-05-17 02:26:50 +08:00
slene
f4d62d3193 beego: fix dependency of cache / session sub package 2014-04-04 08:31:22 +08:00
Pengfei Xue
97b68bdd66 fix bug, can not remove session file 2014-03-12 15:56:04 +08:00
Francois
adf2a590fc Update sess_file.go
Lock required to ensure the File sessions work correct.
2014-02-27 15:34:38 +02:00
傅小黑
0e2872324f add comments for session packages, part 1 2014-01-29 01:05:56 +08:00
astaxie
481448fa90 modify session module
change a log
2014-01-05 14:48:36 +08:00
astaxie
c8f86652a3 fix #248 2013-11-05 22:23:48 +08:00
astaxie
a443a798e3 fix #254 2013-11-05 21:59:35 +08:00
astaxie
d835b0c80f fix #235 2013-11-02 00:16:10 +08:00
astaxie
02c2e16253 Strengthens the session's function 2013-09-26 18:07:00 +08:00
slene
6d3486e2a6 fix session file write bug 2013-05-14 07:33:00 +08:00
astaxie
d8e1f31cc9 update session's key from string to interface 2013-05-13 23:30:59 +08:00
astaxie
2573696860 session
1. session move from astaxie/session to beego/session
2. support 4 type session
2013-04-05 23:50:53 +08:00