Project

General

Profile

Actions

Bug #71565

closed

EXT:FORM in 7 LTS: invalid url for action

Added by André Spindler about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2015-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF