Changeset 671 for trunk/lib/App.inc.php
- Timestamp:
- Mar 7, 2019 9:07:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r670 r671 479 479 */ 480 480 481 $safe_http_host = preg_replace('/[^a-z\d. -]/', '', getenv('HTTP_HOST'));481 $safe_http_host = preg_replace('/[^a-z\d.:-]/', '', getenv('HTTP_HOST')); 482 482 if ('' != $safe_http_host && '' == $this->getParam('site_hostname')) { 483 483 $this->setParam(array('site_hostname' => $safe_http_host));
Note: See TracChangeset
for help on using the changeset viewer.