Ticket #895 (closed defect (bug): fixed)

Opened 7 years ago

Last modified 5 years ago

search doesn't work with subdomains

Reported by: anonymousbugger Owned by: mdawaffe
Priority: normal Milestone:
Component: General Version: 1.5
Severity: trivial Keywords: has-patch commit
Cc:

Description

when I access my blog via  http://blog.mydomain.net (instead of  http://mydomain.net/blog), the search doesn't work because it tries to go to  http://blog.mydomain.net/blog/index.php . I think it can be solved by replacing: action="<?php echo $_SERVERPHP_SELF?; ?> (in the searchform.php) by: action="<?php echo get_settings(’siteurl’); ?>

Attachments

895.diff Download (662 bytes) - added by mdawaffe 5 years ago.
classic

Change History

  • Patch set to No

comment:2   ryan7 years ago

  • Patch changed from No to Yes

<?php echo $PHP_SELF; ?>

comment:4   Zeo7 years ago

<?php echo $PHP_SELF; ?>

classic

  • Keywords has-patch commit added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned
  • Milestone set to 2.1

895.diff

  1. Get classic in line.

See [2884]

comment:6   ryan5 years ago

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [4152]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

comment:7   ryan5 years ago

(In [4238]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

  • Milestone changed from 2.1 to 2.0.5
  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.