Giter VIP home page Giter VIP logo

Comments (4)

emilhem avatar emilhem commented on July 3, 2024

It's a browser security feature. I saw this one coming.

The fix is:

  1. Make sure that all the urls have been successfully parsed.
  2. Make sure that the parser recognizes that the user is accessing it via https and make the thisSite function to return https instead of http for the server url.

I don't use or have access to https at this time to test where in the request variable you would find if the connection went through https or not.

from node-unblocker.

nfriedly avatar nfriedly commented on July 3, 2024

Oh, yea, your absolutely right. I just didn't have time to fix it
yesterday, so I filed this to remind myself later.

Thanks,

  • Nathan

Sent from mobile phone.
On Nov 28, 2013 3:30 AM, "Emil Hemdal" [email protected] wrote:

It's a browser security feature. I saw this one coming.

The fix is:

  1. Make sure that all the urls have been successfully parsed.
  2. Make sure that the parser recognizes that the user is accessing it via
    https and make the thisSite function to return https instead of http for
    the server url.

I don't use or have access to https at this time to test where in the
request variable you would find if the connection went through https or not.


Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-29446809
.

from node-unblocker.

nfriedly avatar nfriedly commented on July 3, 2024

(This used to work correctly - I'm not sure when it broke. That's part of
why I want more tests in place.)

Thanks,

  • Nathan

Sent from mobile phone.
On Nov 28, 2013 8:11 AM, "Nathan Friedly" [email protected] wrote:

Oh, yea, your absolutely right. I just didn't have time to fix it
yesterday, so I filed this to remind myself later.

Thanks,

  • Nathan

Sent from mobile phone.
On Nov 28, 2013 3:30 AM, "Emil Hemdal" [email protected] wrote:

It's a browser security feature. I saw this one coming.

The fix is:

  1. Make sure that all the urls have been successfully parsed.
  2. Make sure that the parser recognizes that the user is accessing it via
    https and make the thisSite function to return https instead of http for
    the server url.

I don't use or have access to https at this time to test where in the
request variable you would find if the connection went through https or not.


Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-29446809
.

from node-unblocker.

nfriedly avatar nfriedly commented on July 3, 2024

BTW, there was a much simpler fix for this: instead of prefixing all urls with http://proxysite.com/proxy or https://proxysite.com/proxy/, just use the /proxy/ part and let the browser figure out the domain and protocol :)

from node-unblocker.

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.