[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Mongrel Patch - Fixes 404 Error in IE

Zed A. Shaw

7/26/2006 3:04:00 PM

On Wed, 2006-07-26 at 16:25 +0900, Brian Takita wrote:

> Zed or anybody on the Mongrel core team, if you see this, please take a look
> at the patch.
> http://rubyforge.org/tracker/index.php?func=detail&aid=5190&group_id=1306&...

Brian, I've been watching your patch and bug reports but haven't had
time to deal with them just yet. Next week I'll be attacking the bug
list and doing a release.

BTW, your patch has a potential buffer overflow in two directions.
There's a simpler fix I'll do in the parser, but use your patch to get
you over the hump until I make it. Basically, strstr and then searching
for a "/" without any sizes will cause nasty things.

Also, Mongrel doesn't really recognize URLs like this since it's not
doing vhosts or anything, so the real question is why IE is sending this
crap. I'll add the patch since frankly you can't fight IE, but there's
*got* to be a reason IE is sending this. I use IE in testing all the
time and never had this happen.

Maybe it's that stupid localhost:3000 vs. http://localhost:3000 thing
(try typing both into IE and see if one works but the other doesn't)?

Zed


1 Answer

Blackwater

8/12/2010 2:10:00 PM

0

Mike Jones <luck@dasteem.invalid> wrote:

>Responding to Mr.B1ack:
>
>> Mike Jones <luck@dasteem.invalid> wrote:
>>
>>>Responding to Mr.B1ack:
>>>
>>>[...]
>>>>>
>>>>>
>>>>>Funny thing (slighty related)...
>>>>>
>>>>>I've been making progress with my "learn to read mirror" project, and
>>>>>I happened to find an old Russian movie I'd downloaded from
>>>>>archive.org a while back. As soon as the pages of Russian text
>>>>>appeared, my brain started trying to mirror-read them.
>>>>>
>>>>>I can't look at anything with Russian writing on it now, just in case
>>>>>it messes up my "training". ;)
>>>>
>>>>
>>>> Ha Ha ! I can see how that could be a problem :-)
>>>>
>>>> Dunno where the Cyrillic character set came from ... obviously
>>>> based on west-euro characters ... but you'd swear some early tsar
>>>> ordered his scribes to "make it different" just because, well "just
>>>> because".
>>>>
>>>> Even worse, the phonetics aren't even close to what you'd get from
>>>> German/English/whatever ... "Y" is pronounced like "U", backwards
>>>> 'R' like 'L' and such .... just to torture the west-euro brain I
>>>> think :-)
>>
>>
>>>I blame the French.
>>
>>
>> Agreed. The source of all evil. :-)
>
>
>Y'mean "l'evil"?
>
>Its hardly surprising they lose so many wars. While the Germans were
>shouting nice gutteral orders you could understand underwater, and the
>British were shouting nice strongly consonanted instructions that could
>even be heard over a supermarket walkie-talkie, the French still insist
>on that blurred curious noise that is not only unintelligible to almost
>any (non-French) life form on this planet, but seems to be designed for
>each word to make exactly the same sound over any kind of radio system.
>
>While the enemy is getting their act together, millions of French troops
>are tapping their helmets, saying "Quel ?tait celui?", (which sounds like
>"Gleur Gleur Gleur?").
>
>Not that I have an opinion either way, you understand? ;)


While it seems impossible for any nation to be more
self-righteous, ethnocentric and arrogant than the
Americans or British - the French manage to do it
with margin to spare :-)