| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4374|Reply: 3
Collapse the left

发布文章时的来源链接https兼容优化

[Copy link]
Post time: 2018-07-05 19:05
| Show all posts |Read mode
source\include\portalcp\portalcp_article.php
  1. if(substr($_GET['fromurl'], 0, 7) !== 'http://') {
  2.                 $_GET['fromurl'] = '';
  3.         }
Copy the Code
此处需对https协议也进行处理

 Russia

Post time: 2018-07-05 22:00
| Show all posts
Your concerns about https are vain,
because the regular expression preg_match('/https?:\/\//is',$useragent) means "http OR https"
 Author| Post time: 2018-07-06 10:45
| Show all posts
vot 2018-7-5 22:00
Your concerns about https are vain,
because the regular expression preg_match('/https?:\/\//is',$use ...

额,抱歉,我是小白....
口出狂言了,我得多多学习才是
 Author| Post time: 2018-07-06 10:47
| Show all posts
vot 2018-7-5 22:00
Your concerns about https are vain,
because the regular expression preg_match('/https?:\/\//is',$use ...

让大神见笑了
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-12-04 22:16 GMT+3 , Processed in 0.050634 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list