On 3/7/20 5:15 AM, Νίκος Βέργος wrote:
> When superhost.gr/test tries to post html form data to the route endpoint 
> '/mailform' it sends it to superhost.gr/mailform and NOT at 
> superhost.gr/test/mailform as it should have done.
>
The HTML path /mailform means server relative path, so the path is
relative to the SERVER, not the current page, so it would be
superhost.gr/mailform

The other format goes through a function which might re-interpret the
path and either make it page relative or add in the path of the current
page to get to /test/mailform


-- 
Richard Damon

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to