File: CHANGES

package info (click to toggle)
libcgi-session-expiresessions-perl 1.13-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 148 kB
  • sloc: perl: 260; makefile: 7
file content (99 lines) | stat: -rw-r--r-- 5,357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Revision history for Perl extension CGI::Session::ExpireSessions.

1.13  Mon May 27 15:57:00 2013
	- Replace /usr/bin/perl with /usr/bin/env perl.
	- Replace common::sense with use strict and use warnings, to get uninit var warnings.
	- Rename test files from \d\d-*.t to *.t.
	- Clean up the POD so it passes tests. Specifically, '=item 1' becomes '=item o 1', and all other '=item'
		tokens are replaced by '=item o' to match.

1.12  Sun Feb 21 12:54:42 2010
	- Remove text 'All rights reserved' (for Debian licensing).
	- Remove POD heads 'Required Modules' and 'Changes'.

1.11  Wed Feb 10 14:01:28 2010
	- MANIFEST.SKIP updated to exclude MYMETA.yml. Add MYMETA.yml.

1.10  Fri Nov 13 13:20:00 2009
	- Run dos2unix
	- Rename Changes.txt to CHANGES

1.09  Thu May 15 11:11:00 2008
	- Delete V 1.08 from CPAN and upload V 1.09, hoping CPAN will index it properly this time.
	  All this because some uses have logged a ticket (RT#35515) about not being able
	  to use 'cpan' to install the module. They are right, I can't get 'cpan' to work either
	- Start shipping Changelog.ini

1.08  Mon Jun 12 11:32:00 2006
	- Version 1.07 was never uploaded to CPAN. It was just available from my site, and was meant
		for testing the proposed callback mechanism in CGI::Session::find. That mechanism was
		changed before CGI::Session 4.14 was released, so my module's code now changes to match.
		Also, since CGI::Session has been patched so its sub find() no longer updates the session's
		access time, my module now uses atime instead of ctime when checking for expiry

1.07  Wed Apr 12 14:36:00 2006
	- Add method expire_sessions() which uses CGI::Session V 4 method find() to find all sessions,
		and then expires sessions if appropriate. All this without evaling the contents of the session
		and which therefore resolves RT bug 16069
	- Document the new method and the new parameters to new()
	- Add test t/03-delete-via-find.t to test the new code
	- Add examples/expire-set.pl to demonstrate and document further ways of using the new method
	- Make CGI::Session V 4.13 a prerequisite

1.06  Tue Apr  4 10:04:00 2006
	- Add binmode after open in sub expire_file_sessions
	- Change "eval $session[0]" into "eval join('', @session)" to handle session data containing \n
	- Add a new test, t/new-line.t, to test session data containing \n
	- The problem with session data containing \n characters was reported via RT by m-uchino at yetipapa.com

1.05  Wed Oct 26 11:25:00 2005
	- Untaint the data read in from the sessions table before eval-ing it.
		The problem, reported (with a code patch) by Dr RA Jones, was that
		the original code triggered an insecure dependency warning when running
		under -T, but only when using DBD::PgPP under MS Windows.
		The exact reason for this warning in this situation remains a mystery
	- Simplify code in new() to no longer check if caller is an object
		as per the new standard on such matters

1.04  Tue Nov 02 15:20:00 2004
	- Note: All files referred to here match the CGI::Session file name format /cgisess_[0-9a-f]{32}/
	- Fix the assumption in sub expire_file_sessions() that the program was being run in the temp directory,
		by adding the temp directory's name as a prefix to all file names.
		Original patch: Matthias Bl�sing
	- Fix sub expire_file_sessions() to delete files of size <= 5 bytes which are old enough. Files of size 0
		are sometimes created by CGI::Session under unknown circumstances.
		As always, use new(delta => 123) to change the definition of 'old enough'
	- Fix verbose message for file session where it should have referred to $$D{'_SESSION_ID'}
		and not $$D{'id'}. The latter was a careless copy-and-paste from the database code
	- Ignore recent files whose size is <= 5 bytes
	- Change text of verbose messages from 'Time lapsed' to 'Time elapsed'
	- Add a security warning to the POD. Actually this comment is redundant, because you always read the POD,
		right?

1.03  Mon Jul 19 14:47:00 2004
	- Change Makefile.PL to coexist with Module::Build
	- Add t/pod.t to test all PODs

1.02  Tue Jun 29 10:08:00 2004
	- Add code so sessions which have already expired are also deleted.
		Originally, the module allowed you to force sessions to expire, via the delta parameter to new().
		Now it also checks for sessions which have already expired, that is for sessions which CGI::Session
		would delete automatically when retrieving them. Thanx to Adam Gent for this suggestion
	- Rewrite the POD where it discusses expiration and deletion

1.01  Tue Apr 27 10:01:00 2004
	- Add another parameter to new(): table_name. This allows you to store sessions in a table with
		a non-default name. The default name is of course 'sessions'. Thanx to Mark Stosberg for this
		suggestion
	- This module does not work with Mark's module CGI::Session::PureSQL. The best solution to this
		problem seems to be to extend CGI::Session to offer a session iterator. This suggesion is also
		from Mark. I will propose this today to the author of CGI::Session when I report the bug in
		CGI:Session V 3.94 line 168, which says:
			if ( $arg->isa('CGI') )
		This bug means classes such as CGI::Simple can't be used here as a replacement for CGI.
		The code needs to be something like:
			if ($arg -> can('cookie') )...
			elsif ($arg -> can('param') )...

1.00  Mon Apr 19 12:37:29 2004
	- Original version