Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access to about/home pages cancels the connection process #6

Closed
aresando opened this issue Apr 26, 2012 · 0 comments
Closed

access to about/home pages cancels the connection process #6

aresando opened this issue Apr 26, 2012 · 0 comments
Labels
Milestone

Comments

@aresando
Copy link

When you use the central icon at the bottom and access the about page or the home page before the connection is complete, it seems to stop the connection process, leaving you with no other option than exiting, killing and restarting the app to perform a new connect.
Also, when you do so, the home page reads "Now connected" even if you are not connected at all.

@mtigas mtigas closed this as completed in 3487517 Apr 26, 2012
mtigas pushed a commit that referenced this issue Feb 14, 2017
Use CKHTTPConnection as a custom NSURLConnection when handling
requests from UIWebView.  This gives more fine-grained control over
the actual connection and SSL handshake than just being a
NSURLProtocol delegate, and now we can set explicit SSL options like
forcing TLS versions to disable SSL.

Also borrow some code from Onion Browser to directly handle data as
it comes in before passing it to the WebView (including ungzipping
or inflating it) to write our custom Javascript directly into the
HTML document data instead of evaluating it after the page loads.
This will make it possible to cut off certain Javascript functions
before a page can use them (like WebSockets or local storage).

Also leave some commented out code for making fake
Content-Security-Policy headers in the response, which WebKit will
handle properly if seen, to be able to selectively disable all
Javascript, fonts, media, external connections, etc.  This will
eventually be hooked up to per-host security settings expanded from
the per-host cookie settings already in place (as in issue #6).
mtigas pushed a commit that referenced this issue Feb 14, 2017
Open (default), No-connect, and Strict

Closes #6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants