Code Monkey home page Code Monkey logo

Comments (15)

atauenis avatar atauenis commented on August 23, 2024

Yes, seems that proxy in local mode does not correctly editing cookies and URLs to local mode style. I'll try to fix this in nearest next (v0.10.5) release.

Thanks for report.

from webone.

atauenis avatar atauenis commented on August 23, 2024

As testing saw, the latest codebase from Git no longer have this bug.

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

OK, so it will be included in v.0.10.5 release? Unfortunately, I cannot compile the code myself.

from webone.

atauenis avatar atauenis commented on August 23, 2024

Yes, I'm planning to release v0.10.5 in this month. And it will work correctly in local mode.

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

Great! Thanks for your excellent work!

from webone.

atauenis avatar atauenis commented on August 23, 2024

Published new version 0.10.5. It have no problems on my known phpBB 3.x forums (tested on phantom.sannata.org and rt20.mybb2.ru). The only exception is VOGONS, where still happens problem on log in (the forum admin seems to have enabled a bot protection, which is detecting attempts to log in via proxy).

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

Hm, I still cannot login to atari-forum.com (phpBB 3.x AFAIK). My browser doesn't know port numbers so I have the proxy running on port 80 (not 8080) and from the browser connect to http://127.0.0.1/http:/atari-forum.com. Everthings seems to work, except login. Could this be related to the port number?

from webone.

atauenis avatar atauenis commented on August 23, 2024

Registered on Atari Forum, checked, really, it saying The submitted form was invalid. Try submitting again. on correct username and password.

I'll investigate this. However, the forum really have a bot-protecting plugin. When I tried to register on atari-forum.com using my e-mail on yandex.ru, the forum rejected it (however Yandex Mail is a legal and popular mailbox service in ex. USSR). So to register on it I'm forced to use another e-mail address.

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

I have contacted the admin fo the forum about this. I am definitely using the correct user/pw so it may have something to do with their protection. I will let you know as soon as I know more.

from webone.

atauenis avatar atauenis commented on August 23, 2024

I've found difference between forums where login work, and where don't. Forums where all is working are running on phpBB 3.2, and which not working are running on phpBB 3.3. Atari Forum is using phpBB 3.3 too.

Tested it in normal mode of proxy with Firefox 3.6.28, login working.
AtariForum firefox 3 6

Then reopened it in latest Chrome, and found the error. PhpBB 3.3 is using .example.com domain for cookies, while phpBB 3.0-3.2 used example.com. I'd forget to implement patching this kind of cookies, so this is (probably) the reason why phpBB 3.3 forums are not usable with WebOne in local mode.
AtariForum cookie

I'll fix this in next version.

from webone.

atauenis avatar atauenis commented on August 23, 2024

Seems, this is caused not only by the cookie domain. Fixed it, the alert in DevTools disappeared, but cookies still don't appear in Application tab of DevTools and the bug still present. So this problem will take a time to investigate and fix.

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

Thanks for your efforts, I really appreciate it. It would be wonderful if you could get it to work.

from webone.

atauenis avatar atauenis commented on August 23, 2024

Huh, probably found the source of problem. Somewhere Set-Cookie HTTP header becames be in a strange format with multiple cookies per HTTP header. And browser is saving only first cookie. Now I am working on rewrite of cookie processing to get this problem out.

from webone.

fietsknecht avatar fietsknecht commented on August 23, 2024

Ah, looking forward to that. Just tried the latest 0.11.1 but the issue is still there. Take your time.

from webone.

atauenis avatar atauenis commented on August 23, 2024

Yes, I'm fixed Set-Cookie header format, this solved some other problems, but not this. And I'm stumped again.

from webone.

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.