CodeIgniter-Chinese / CodeIgniter

开源 PHP 框架 CodeIgniter 中国社区分支
http://codeigniter.org.cn/
MIT License
65 stars 26 forks source link

base_url 不定义时某些情况下 redirect 到 https #14

Closed rickytan closed 10 years ago

rickytan commented 10 years ago

环境:

ubuntu php 5.3 非 ssl

system/core/Config.php 的第 71 行,判断 $_SERVER['HTTPS'] !== 'off' 不能做为依据的

hex-ci commented 10 years ago

这应该是已知Bug。感谢反馈。