I may be missing something obvious here, but I saw no way to redirect a request for http://example.com/index.html to http://example.com/. This tiny patch will treat the destination '/' thusly. It seemed better to do it that way than to allow a blank destination.

Any thoughts?

Comments

john morahan’s picture

StatusFileSize
new2.59 KB

I would have thought that <front> would be the way to go here.

Patch attached.

HorsePunchKid’s picture

Status: Needs review » Reviewed & tested by the community

Much better; thank you! I've tested your patch for various types of redirects, and it's working nicely.

jjeff’s picture

Committed. Please download 5.x-1.1-beta1 to test.

jjeff’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)