Showing posts with label redirect. Show all posts
Showing posts with label redirect. Show all posts

Monday, February 6, 2012

HTTPS defeated by Google

More bad news:

https://search.google.com/ is redirecting to http://www.google.ca/ for my own good, naturally ...

But hey,  https://mail.google.com/mail has been over-llooked for now up at the view from the mountain ...

But Google will find a way to defeat your choice to use that HTTPS URL in personal home page links - and it is for your own good, after all.  Google knows best.


HTTPS Google redirects to igoogle as HTTP

One change to tasks on the igoogle page and WHAM! SLAM!

https://www.google.com/ on my home page - MY link - is redirecting to HTTP  google.com igoogle.

From HTTPS ?!?

I go HTTPS to prevent a redirect to google.ca due to my IP being identified through a Canuck router.

Where the hell is the warning such as that GMAIL throws up for content that is not HTTPS in mail ?

BUT: https://google.com/ can flip up a certificate warning in IE as it redirects to www.google.com/ig


Saturday, September 8, 2007

Curl and Occasionally Connected Computing

I have added a page on OCC at wikipedia. What is really interesting to me is the use of a custom URI scheme in Curl. Such a scheme might be
curl://occ/this-redirects-as-needed
which could be used to redirect to a resource depending on whether the user is connected.
If you have experience with OCC, please do contribute to the article. When I have some experience with Curl OCC I will add a page at eclectic-pencil with details and caveats.
To complement the article, I also opened one on CSPD. There are trolls at en.wikipedia.org who delight in suggesting page deletions so your contributions to articles to maintain NPOV or to suggest sensible article merging and separation are much appreciated. No edit wars, please. Solid references for articles are usually the key to survival of any given contribution in my experience.

Friday, June 1, 2007

redirecting Rebol stdin/stdout under Windows

Rebol has a console interpreter which I wished to wrap in a smarter Win32 console shell that would screen my typical typo's, maintain a history across sessions and a few other useful features to exploit the Rebol parser.

My console wrappers at the moment are both Smalltalk console applications written in Dolphin Smalltalk: ConsoleShell and ConsolePipe. ConsoleShell understands commands for several language configurations and writes to a named pipe opened and echoed by ConsolePipe1; ConsolePipe2 takes STDOUT and pipes it to a chosen NamedPipe to feedback to an IDE running the ConsoleShell.

The problem that I faced was to pipe out from rebol.exe as it is not enough just to use the -w option to prevent a window from opening.

The answer lay in a Rebol script not unlike what you might use to loop a Perl interpreter. In my test case, the following pipeline works under Windows XP:
ConsoleShell | ConsolePipe1 | rebol.exe -w -c --do "forever [attempt [print do ask %~]]" 2>&1 | ConsolePipe2

The input is to my shell and the output appears in a destination window fed by a named pipe.
Unless you ran taskmgr you would not know that rebol.exe was running.

The two key bits are the -c flag and the print block. You also have to ignore the obvious and set the prompt ( in my case '->' ) with the '%' as indicated and you must wrap the script in dbl-quotes.

Now my ConsoleShell pipes into Rebol and Rebol outputs into my chosen Windows NamedPipe. This should work with any 2 wrappers - you might want to try with Tcl and expect. The Rebolution continues ...