User tests: Successful: Unsuccessful:
Pull Request for Issue #23064.
Hard to replicate the issue in #23064, if I fake the params to get the layout, - this does indeed fix it
<p class="feed-readmore"><a target="_blank" href ="/index.php">Read More ...</a></p>]]></description>
becomes
<p class="feed-readmore"><a target="_blank" href ="https://0.0.0.0/index.php">Read More ...</a></p>]]></description>
see: #23064
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
ah ok - im on the school run so cant change for the moment
I have tested this item
I have tested this item
Before patch, URLs were relatives and the Read more links fails. After the patch the URLs are absolute and are working fine.
DO NOT MEEGE YET all links come with https prefix even if site is not on ssl
Will fix next time Iām at my desk
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-10 21:35:53 |
Closed_By | ⇒ | PhilETaylor | |
Labels |
Added:
?
|
@PhilETaylor please re-open - PR not integrated yet - adjustments below
RE: issue #23064 RSS READMORE link is RELATIVE
@pabloarias @joomlaboat
Please test the following... (notes at bottom)
joomla-cms/components/com_content/views/category/view.feed.php
replace...
// URL link to article
$link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language));
with...
// URL link to article
$link = JRoute::_((ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item-language)), true, 2);
NOTES:
JRoute::_ options show ($url, $xhtml, $ssl)
$ssl options are normally...
-1 = force unsecure HTTP
0 = as passed (but this leaves relative link)
1 = force secure HTTPS
but when i input
2 = link shows as relative + unsecure then I leave .htaccess to redirect to HTTPS
PLEASE NOTE:
code is updated(had missing brackets)
NONE of these options respect Global Configuration -> force HTTPS
this probably requires further investigation, but my brief look suggests J4 is probably getting closer - this just saves me repairing broken sites every time there is an update
this still hasnt been fixed as of 3.9.22
fixed
This forces HTTPS links.