Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1782 closed defect (bug) (worksforme)

Adding "/index.php" to end of 'home' or 'siteurl' options is irreversable

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: bg|has-patch bg|commit
Focuses: Cc:

Description (last modified by markjaquith)

Had a visitor to #wordpress who had put in "http://site.com/index.php" as his 'home' and 'siteurl' options. This, of course, broke his site (CSS link was invalid). What's worse, he couldn't change it back, because the options form was using the faulty siteurl value as the action of the form! He had to fix via PHPmyAdmin

We should be preventing people from appending values that will break their installs (like we do with stripping the ending slash).

Attachments (1)

options.php.diff (680 bytes) - added by markjaquith 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @markjaquith
19 years ago

  • Keywords bg|has-patch bg|commit added
  • Status changed from new to assigned

#2 @markjaquith
19 years ago

  • Description modified (diff)

#3 @matt
19 years ago

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

The action of the general options form seems to be "options.php" which is relative, so people should be able to fix this themselves.

#4 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.