src/mod/module.c
"Shay Harding" <sharding-YCNXYxaMkU/[email protected]> Tue, 11 Feb 2003 18:32:31 -0700
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Organization | CCBill |
| Message-ID | <005801c2d236$9c81e2a0$7500000a@ccbill22ms668m> |
I'd like to propose the following change to src/mod/module.c line 868
from:
if (redirect[0] == '/' || strncmp(redirect,"http://",7) == 0){
to:
if (redirect[0] == '/' || strncmp(redirect,"http://",7) == 0 ||
strncmp(redirect,"https://",8) == 0){
to allow for HTTPS redirects. Else it tries to make a directory location
out of it for a local redirect.
Shay
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003