Permalink
Commits on Aug 24, 2012
  1. Merge branch 'cdman/use-logging-module'

    fixes #42
    willnorris committed Aug 24, 2012
Commits on Aug 6, 2012
  1. Merge pull request #31 from justjkk/master

    Provider should post automatically to Consumer after authorize
    willnorris committed Aug 6, 2012
Commits on Jul 4, 2012
  1. Merge pull request #36 from tseaver/optional_setuptools

    Use setuptools, if present.
    willnorris committed Jul 4, 2012
  2. Merge pull request #11 from mmlin/master

    Minor updates in the consumer example (fixes #5, fixes #6)
    willnorris committed Jul 4, 2012
  3. Merge pull request #15 from vzima/unicode

    Resolve unicode problems
    willnorris committed Jul 4, 2012
Commits on Jun 26, 2012
Commits on Jun 25, 2012
  1. Add .tox to .gitignore

    msabramo committed Jun 25, 2012
Commits on Jun 11, 2012
  1. Changed over to logging module from built-in logging module and updat…

    …ed tests accordingly
    cdman committed Jun 11, 2012
  2. Added gitignore files

    cdman committed Jun 11, 2012
Commits on Mar 28, 2012
  1. Use setuptools, if present.

    This change enables usage such as '/path/to/python setup.py develop' (i.e.,
    installing a checkout into site-packages).  It falls back to stock distutils
    if setuptools is not importable.
    tseaver committed Mar 28, 2012
Commits on Mar 8, 2012
  1. Merge pull request #35 from davidthewatson/patch-1

    Fix typo in log message.
    willnorris committed Mar 8, 2012
Commits on Feb 8, 2012
  1. Merge pull request #32 from yola/master

    Patch the Server constructor
    willnorris committed Feb 8, 2012
Commits on Feb 1, 2012
Commits on Jan 17, 2012
  1. Patch the openid.server.Server class to allow clients to provide sign…

    …atory, encoder and decoder classes on instantiation.
    julio@yola.com committed Jan 17, 2012
Commits on Dec 12, 2011
  1. Fix encoding of namespace uris.

    Namespace for openid is usually unicode type, but it is not encoded to string in response.
    ziima committed Dec 12, 2011
Commits on Jul 18, 2011
  1. Yet another problem with unicode - some HTLM pages can not be decoded…

    … because they contain undecodable characters.
    
    It causes raise of UnicodeDecodeError deep inside python. This only happens if xrds location is not found before
    some unicode character.
    
     - Catch UnicodeDecodeError when searching for yadis
     - Update check of whether yadis was used - if xrds location is none it was not
     - Added tests, update previous unicode test with comment
    ziima committed Jul 18, 2011
Commits on Jun 6, 2011
  1. Fix problem with decoding of HTML that has mixture of unicode and ent…

    …ities.
    
    Original commits:
     - 08382e5
     - 8ced77c
    ziima committed Jun 6, 2011
Commits on Oct 14, 2010
  1. Fixed a bug in Message.toPostArgs() related to UTF-8 encoded values.

    In generating the argument dictionary the .toPostArgs() method (apparently)
    assumed that values were all Unicode objects and called
    ``value.encode('utf-8')`` on them unconditionally. However, the values appear
    to be a mixed set of Unicode objects and UTF-8 encoded strings (most being of
    the latter group).
    
    Calling .encode('utf-8') on a string will implicitly decode the string into a
    Unicode object before encoding it to the selected encoding. This automatic
    decoding happens using the ``sys.getdefaultencoding()`` encoding which is by
    default 'ascii'. The original call therefore works only as long as the values
    are 7-bit ASCII and breaks when they contain higher bit characters.
    
    The patch ensures that the resulting values in the returned dictionary are
    UTF-8 encoded strings regardless if the input values were Unicode objects or
    UTF-8 strings.
    dokai committed Oct 14, 2010
  2. Fixed a bug in Message.toFormMarkup() related to encoding UTF-8 encod…

    …ed form values.
    
    The .toFormMarkup() method that generates a <form> HTML structure had a bug
    when the form field values contained UTF-8 encoded strings with characters
    outside the 7-bit ASCII space.
    
    If the lxml implementation of the ElementTree API was in use these values
    would result in a ValueError being raised (ValueError: All strings must be XML
    compatible: Unicode or ASCII, no NULL bytes or control characters). If the
    stdlib implementation of ElementTree was used these characters were silently
    replaced by their XML character reference equivalents (&#XXX;).
    
    This patch generates the form using Unicode values for everything and then
    serializes the form to a UTF-8 encoded string ensuring that the final form is
    what is expected and constant regardless of the ElementTree API
    implementation.
    dokai committed Oct 14, 2010
Commits on Sep 16, 2010
  1. Set safe flag on html/form element so that the html won't be escaped,…

    … which happens by default in the latest versions of Django.
    unknown committed Sep 16, 2010
  2. Corrected dictionary entries in the method normalDict, which was only…

    … inserting the first character for each value.
    unknown committed Sep 16, 2010
Commits on Sep 15, 2010
  1. clean whitespace

    temoto committed Sep 15, 2010
Commits on Jul 19, 2010
  1. Fix timing attack against signature comparison

    Carl Howells committed with lillialexis Jul 19, 2010
  2. whitespace

    Carl Howells committed with lillialexis Jul 19, 2010
  3. Fix permissions on tools

    Carl Howells committed with lillialexis Jul 19, 2010
Commits on Jun 18, 2010
  1. contrib/associate: new script to make an association request

        and print the results.
    Kevin Turner committed with lillialexis Mar 31, 2010