HTML Helper's startForm() doesn't pick up if current request is HTTPS

Description

If a form is created on an HTTPS page with HTML.startForm(), the action is forced to HTTP instead of allowing the event.buildLink() call to detect the current page.

The fix is to not default the SSL attribute to anything. Check for its existence and only pass it along if it has been specified. Otherwise, allow event.buildLink() to default the URL protocol as necessary.

Activity

Show:
Wesley Hampton
September 1, 2015, 8:26 PM

Pull Request to address issue in ColdBox core.

Brad Wood
September 1, 2015, 9:10 PM

Thanks for linking that here. FYI, is on vacation right now so he'll look at merging this once he's back.

Fixed

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure