File tree 5 files changed +36
-7
lines changed
5 files changed +36
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Release Notes
5
5
.. toctree ::
6
6
:maxdepth: 2
7
7
8
+ release-notes/version-4.4.18
8
9
release-notes/version-4.4.17
9
10
release-notes/version-4.4.16
10
11
release-notes/version-4.4.15
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ Bugs Fixed
15
15
16
16
1. If ``mod_wsgi-express `` was run under a user ID for which there was no
17
17
password entry in the system password file, it would fail when looking up
18
- the user name. If this occurs now use ``#nnn `` as the default user name.
18
+ the user name. If this occurs now use ``#nnn `` as the default user name,
19
+ where ``nnn `` is the user ID.
Original file line number Diff line number Diff line change
1
+ ==============
2
+ Version 4.4.18
3
+ ==============
4
+
5
+ Version 4.4.18 of mod_wsgi can be obtained from:
6
+
7
+ https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.4.18
8
+
9
+ For details on the availability of Windows binaries see:
10
+
11
+ https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32
12
+
13
+ Bugs Fixed
14
+ ----------
15
+
16
+ 1. If ``mod_wsgi-express `` was run under a user ID for which there was no
17
+ password entry in the system password file, it would fail when looking up
18
+ the group name. If this occurs now use ``#nnn `` as the default group name,
19
+ where ``nnn `` is the user ID.
Original file line number Diff line number Diff line change @@ -51,15 +51,23 @@ def where():
51
51
52
52
def default_run_user ():
53
53
try :
54
- return pwd .getpwuid (os .getuid ()).pw_name
54
+ uid = os .getuid ()
55
+ return pwd .getpwuid (uid ).pw_name
55
56
except KeyError :
56
- return '#%d' % os . getuid ()
57
+ return '#%d' % uid
57
58
58
59
def default_run_group ():
59
60
try :
60
- return grp .getgrgid (pwd .getpwuid (os .getuid ()).pw_gid ).gr_name
61
+ uid = os .getuid ()
62
+ entry = pwd .getpwuid (uid )
61
63
except KeyError :
62
- return '#%d' % pwd .getpwuid (os .getuid ()).pw_gid
64
+ return '#%d' % uid
65
+
66
+ try :
67
+ gid = entry .pw_gid
68
+ return grp .getgrgid (gid ).gr_name
69
+ except KeyError :
70
+ return '#%d' % gid
63
71
64
72
def find_program (names , default = None , paths = []):
65
73
for name in names :
Original file line number Diff line number Diff line change 25
25
26
26
#define MOD_WSGI_MAJORVERSION_NUMBER 4
27
27
#define MOD_WSGI_MINORVERSION_NUMBER 4
28
- #define MOD_WSGI_MICROVERSION_NUMBER 17
29
- #define MOD_WSGI_VERSION_STRING "4.4.17 "
28
+ #define MOD_WSGI_MICROVERSION_NUMBER 18
29
+ #define MOD_WSGI_VERSION_STRING "4.4.18 "
30
30
31
31
/* ------------------------------------------------------------------------- */
32
32
You can’t perform that action at this time.
0 commit comments