Solution to the "Illegal Source" prompt when accessing links in the Imperial CMS backend

Reason for prompting "illegal source"

After the Empire CMS was updated to 7.2, a new background security mode was added, and the King Kong mode was launched in the background to verify the link source. All links in the backend need to be logged in before accessing. If you directly force access to the backend page link, you will be prompted with "illegal source". Users who are not logged in to the backend normally cannot directly access the content, ensuring backend data security.

Solution to the "Illegal Source" prompt when accessing links in the Imperial CMS backend

So in our daily use, when we access the background link normally, we also get a prompt of "illegal source", how to solve it, the solution is as follows.

"Illegal source" solution

1. Add the <?=$ecms_hashur['href']?> function at the end of the link, such as:

Link address with parameters:

1

2

$ecms_hashur=hReturnEcmsHashStrAll();

abc.php?<?=$ecms_hashur['href']?>&a=get

Link address without parameters:

1

2

</

Guess you like

Origin blog.csdn.net/mo3408/article/details/132781955