Giter Club home page Giter Club logo

Comments (4)

vfleaking avatar vfleaking commented on May 19, 2024

这不是bug。。。这是 undefined behavior。。。我没有设计改端口的代码。。。因为线上的 uoj 并不需要这个功能……

如果你有兴趣可以加一下……

你这个错误出现的可能原因是:php 想把 cookie 存在 hostname 下,但是 hostname 带了个奥妙重重的端口所以被拒了

from uoj.

Ruanxingzhi avatar Ruanxingzhi commented on May 19, 2024

@vfleaking 搞成了80端口……

然后翻车啦……
翻车啦

from uoj.

vfleaking avatar vfleaking commented on May 19, 2024

噢。。我知道是什么问题了。。
看 app/models/Session.php 的第 7 行。。。把那个前置的点去掉

本来这个点加到域名上的意思是这个域名及其子域名都可以看见这个 cookie 的。。碰到 ip 就。。翻车了。。惨啊。。

晚上我来 push 一发加到 config 里。。。

from uoj.

Ruanxingzhi avatar Ruanxingzhi commented on May 19, 2024

成功,谢谢

from uoj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.