Using dots in HTTP request parameters

Jonathan Daugherty cygnus at janrain.com
Fri Sep 14 18:05:23 UTC 2007


# 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



More information about the specs mailing list