Using dots in HTTP request parameters

Gabe Wachob gabe.wachob at amsoft.net
Fri Sep 14 18:54:33 UTC 2007


Not sure it matters in the O* environments, but using _ in http links has
traditionally been frowned upon because it when rendered as underlined text
(as an HTML link), the underscores disappeared and made it look like a space
was present in the link. 


	-Gabe

> -----Original Message-----
> From: specs-bounces at openid.net [mailto:specs-bounces at openid.net] On Behalf
> Of Jonathan Daugherty
> Sent: Friday, September 14, 2007 11:05 AM
> To: Eran Hammer-Lahav
> Cc: specs at openid.net
> Subject: Re: Using dots in HTTP request parameters
> 
> # OAuth is designed to work with old browsers, cell phones, webtv,
> # etc. Is there any reason not to use dot in parameters name? Are
> # there any known compatibility or support issues (compared to using
> # underscores)?
> 
> PHP has an especially pathological behavior of converting all dots in
> query parameter names to underscores, so if you do go this route
> you'll need code[1] to fix it.  Otherwise I think it's a fine idea. :)
> 
> [1] Auth_OpenID::getQuery()
>     http://openidenabled.com/files/php-openid/repos/2.x.x/Auth/OpenID.php
> 
> --
>   Jonathan Daugherty
>   JanRain, Inc.
>   irc.freenode.net: cygnus in #openid
>   cygnus.myopenid.com
> _______________________________________________
> specs mailing list
> specs at openid.net
> http://openid.net/mailman/listinfo/specs




More information about the specs mailing list