realurl生成不带cHash的条目

realurl生成不带cHash的条目

本文介绍了realurl生成不带cHash的条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个piBase扩展,它具有记录列表和详细信息页面.首先调用清单时,一切都很好,realurl(版本2.0.15,TYPO3版本7.6.10)使用cHash参数(例如

I have a piBase extension which has a listing of records and a detail page.When calling the listing first, everything is fine, realurl (version 2.0.15, TYPO3 version 7.6.10) creates the urls for the detail pages with cHash parameter, e.g.

但是,当截断所有四个realurl表,清除前端缓存并直接访问记录的详细信息页面时,realurl会为该页面创建不带cHash的url:

But when truncating all four realurl tables, clearing the frontend cache and accessing a detail page of a record directly, realurl creates the url for this page without cHash:

在Extbase扩展中尝试相同的操作时(例如EXT:news),我收到404错误,并且生成的网址也没有cHash:

When trying the same in an Extbase extension (e.g. EXT:news) I get a 404 error and the generated url is also without cHash:

为什么缺少cHash参数?这是一个错误吗?

Why is the cHash parameter missing? Is this a bug?

推荐答案

Realurl< = 2.0.14重新计算了cHash(如果缺少).从2.0.15版本开始,安全团队强迫我禁用此功能.缺少cHash是安全团队要求的预期结果.我为减轻该问题做出了一些努力,但无法完全解决.抱歉.

Realurl <= 2.0.14 recalculated cHash if it was missing. Since 2.0.15 security team forced me to disable this feature. Missing cHash is an expected outcome of the security team's request. I made some efforts to mitigate the problem but it cannot be fully solved. Sorry.

这篇关于realurl生成不带cHash的条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 18:54