Issue Bug Closed

#71565EXT:FORM in 7 LTS: invalid url for action

André Spindler 11/13/15, 18:32 updated 11/26/15, 11:26

Description

If the action is generated using typolink, the absRefPrefix is inserted twice at the beginning of the action uri.

Typoscript:

config.absRefPrefix = /
10 = FORM
10 {
    name = subscriptionform
    method = post
    prefix = subscribe
    confirmation = 0
    action {
        typolink.parameter = 22
        typolink.returnLast = url
    }

    [...]
}

Generated form tag:

<form id="field-1" name="subscriptionform" method="post" enctype="multipart/form-data" action="//en/newsletter-subscription.html">

This is resolved as “http://en/newsletter-subscription.html” and doesn’t work.

Reviews 1