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函数

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

  • 相关阅读:
    scrapy 链接数据库创表语句
    工作问题总结
    插入排序
    centos6.5 安装python2.7.5
    冒泡排序
    [Python笔记]第十篇:模块续
    [Python笔记]第九篇:re正则表达式
    [Python笔记]第八篇:模块
    [Python笔记]第六篇:文件处理
    [Python笔记]第五篇:递归
  • 原文地址:https://www.cnblogs.com/rocklau/p/1492901.html
Copyright © 2011-2022 走看看