File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,6 @@ RELEASE SHOWSTOPPERS:
157157PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
158158 [ start all new proposals below, under PATCHES PROPOSED. ]
159159
160- *) mod_lua: Make r.ap_auth_type writable
161- trunk patch: https://svn.apache.org/r1921260
162- 2.4.x patch: svn merge -c 1921260 ^/httpd/httpd/trunk .
163- +1: jorton, covener, jim
164160
165161PATCHES PROPOSED TO BACKPORT FROM TRUNK:
166162 [ New proposals should be added at the end of the list ]
Original file line number Diff line number Diff line change 1+ *) mod_lua: Make r.ap_auth_type writable. PR 62497.
2+ [Michael Osipov <michaelo apache.org>]
Original file line number Diff line number Diff line change 360360 <tr >
361361 <td ><code >ap_auth_type</code ></td >
362362 <td >string</td >
363- <td >no </td >
363+ <td >yes </td >
364364 <td >If an authentication check was made, this is set to the type
365365 of authentication (f.x. <code >basic</code >)</td >
366366 </tr >
Original file line number Diff line number Diff line change 383383 <tr>
384384 <td><code>ap_auth_type</code></td>
385385 <td>string</td>
386- <td>non </td>
386+ <td>oui </td>
387387 <td>Ce champ contient le type d'authentification effectuée
388388 (par exemple <code>basic</code>)</td>
389389 </tr>
Original file line number Diff line number Diff line change @@ -2551,6 +2551,12 @@ static int req_newindex(lua_State *L)
25512551 request_rec * r = ap_lua_check_request_rec (L , 1 );
25522552 key = luaL_checkstring (L , 2 );
25532553
2554+ if (0 == strcmp ("ap_auth_type" , key )) {
2555+ const char * value = luaL_checkstring (L , 3 );
2556+ r -> ap_auth_type = apr_pstrdup (r -> pool , value );
2557+ return 0 ;
2558+ }
2559+
25542560 if (0 == strcmp ("args" , key )) {
25552561 const char * value = luaL_checkstring (L , 3 );
25562562 r -> args = apr_pstrdup (r -> pool , value );
You can’t perform that action at this time.
0 commit comments