Ticket #1308 (closed defect: fixed)
lighty.env['request.method'] and lighty.env['request.protocol'] always return nil
| Reported by: | anonymous | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.20 |
| Component: | mod_magnet | Version: | 1.4.16 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | no | Blocking: |
Description
magnet_env_get_buffer doesn't implement request.method nor request.protocol, thus always returning a nil value.
Both are merely skipped in magnet_env_get_buffer() :
switch (env[i].type) {
case MAGNET_ENV_REQUEST_METHOD: break;
case MAGNET_ENV_REQUEST_PROTOCOL: break;
}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

