Bug #11101
Pagination widget creates incorrect absolute URLs
100%
Description
Currently, the paginate widget creates absolute URLs. However, if your TYPO3 is installed in a subdirectory of the document root, this is apparently not respected when generating the URLs.
So, the widget creates URLS like
http://localhost/index.php... instead of
http://localhost/xyz/index.php
Is there actually any reason to use absolute URLs instead of relative ones?
Problem occurs with version 1.3.0beta1a.
Best regards,
Martin Helmich
Files
Updated by Bastian Waidelich over 11 years ago
- File 11101_pagination_v2.patch 11101_pagination_v2.patch added
- Category set to Widgets
- Status changed from New to Accepted
- Assignee set to Bastian Waidelich
Does the patch you provided, fixes the issue?
Updated by Martin Helmich over 11 years ago
Ah, sorry, I forgot to mention the patch. The patch fixes the issue by generating relative URLs instead of absolute ones.
However, the more I think of it... Apart from the question whether absolute or relative URLs are better, this is probably more a problem of the UriBuilder class, is it?
Updated by Bastian Waidelich over 11 years ago
Martin Helmich wrote:
Ah, sorry, I forgot to mention the patch.
No problem. In the meantime it's committed and the widget.uri VH is fixed as well.
However, the more I think of it...
Apart from the question whether absolute or relative URLs are better,
this is probably more a problem of the UriBuilder class, is it?
That's right..
I'm closing this issue for now. Please open up another ticket, if you encounter other problems with the UriBuilder
Updated by Bastian Waidelich over 11 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3064