Feature #51100

Links with absolute URI should have the option of URI Scheme

Added by Patrick Kroog over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
ViewHelpers
Target version:
-
Start date:
2013-08-16
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

At the moment it's not possible to build absolute URIs with https scheme.

Only the ExternalViewHelper allows configuring the URI scheme.

Describing example of the problem:

<f:uri.action pageUid="1" arguments="{client:client}" absolute="1" />

builds a full link like:
- http://example.com/index.php?id=1&tx_myplugin[client]=10

But there's no option to set the URI scheme to https, alghough the

uriBuilder would allow setting the URI scheme:
$uriBuilder->setAbsoluteUriScheme("https");

(Referring to: fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php)

--

So there should be another option for this in the render method in the Action/Page Viewhelpers!


Files

ActionViewHelper.patch (2.17 KB) ActionViewHelper.patch Patrick Kroog, 2013-08-16 12:04
PageViewHelper.patch (1.84 KB) PageViewHelper.patch Patrick Kroog, 2013-08-16 12:04
ActionViewHelper.patch (2.18 KB) ActionViewHelper.patch Patrick Kroog, 2013-08-16 12:06
PageViewHelper.patch (1.82 KB) PageViewHelper.patch Patrick Kroog, 2013-08-16 12:06
#1

Updated by Patrick Kroog over 7 years ago

These are patches for TYPO3 v4.7.14 on the Uri ViewHelpers
- PageViewHelper
- ActionViewHelper

Both must be used, otherwise the uribuilder doesn't UNSET the uri scheme value before the next link is generated..

#2

Updated by Patrick Kroog over 7 years ago

These are the patches for the Link ViewHelpers (TYPO3 v. 4.7.14)

Also available in: Atom PDF