martinrusev/amon — Issue #20: Form action url misses http://
Author: hidde-jan
Created: 2011-12-05 13:09:56+00:00
State: open

Hi,

The action attributes of (probably) all the forms are missing the http:// part and are just 'host:port/something'. This causes the forms to be submitted to 'http://host:port/host:port/something' at least in Safari and when using a IP address as host.

This could be fixed by prepending env.globals['base_url'] on https://github.com/martinrusev/amon/blob/master/amon/web/template.py#L201 with 'http://'.