zoukankan      html  css  js  c++  java
  • UCenter 1.5.0 整合 Bug


    我在做asp,aspx等非php产品跟php的dz整合时,出现一处产品整合Bug,如果未涉及此类问题请不必读下文.

    虽然支持 uc.php的更名但是 代码中并未支持到其他扩展名

    1 foreach($this->cache['apps'as $appid => $app) {
    2                     if($app['synlogin'&& $app['appid'!= $this->app['appid']) {
    3                         $synstr .= '<script type="text/javascript" src="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlogin&username='.$this->user['username'].'&uid='.$this->user['uid'].'&password='.$this->user['password']."&time=".$this->time, 'ENCODE', $app['authkey'])).'" reload="1"></script>';

    因此,此处为Bug应修正为

    control/user.php onsynlogin函数

     在其他整合函数中也存在类似问题.

  • 相关阅读:
    简单介绍 CPU 的工作原理
    Converting a MatchCollection to string array
    Ubuntu18.04安装pycharm如何显示锁定图标到收藏夹
    MFC使用控制台
    将CString输出到控制台的方法
    Python 字符串前面加u,r,b的含义
    Converting a MatchCollection to string array
    git命令查看版本记录
    git命令查看版本记录
    SQL Server游标
  • 原文地址:https://www.cnblogs.com/rocklau/p/1492901.html
Copyright © 2011-2022 走看看