Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#22 fixed h.img.action and callbacks.clear_not_used apoirier bertrand.croq

Reported by bertrand.croq, 9 years ago.

Description
class A:
    def img(self):
        return '..........' # the image

class Something:
    pass

@presentation.render_for(Something)
def render(*args)
    return (h.img.action(A().img()),
            h.img.action(A().img()))

The generated HTML for Something is ok. But when the browser asks for the first image, callbacks.clear_not_used is called in WSGIApp.__call__, which deletes the callback for the second image.

#1524 fixed HTML5 renderer & <abbr> tags apoirier sprat

Reported by sprat, 5 years ago.

Description

In Nagare's HTML5 renderer, the <abbr> tag is deprecated, which renders it unusable. However, it seems that this tag is perfectly valid in HTML5: see  http://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-abbr-element . Can you please remove the deprecation of this tag?

#1515 fixed Incorrect padding when decoding the authentication cookie apoirier sprat

Reported by sprat, 6 years ago.

Description

Here is the traceback of an error that seems to appear randomly on my developer box with nagare 0.3.0 :

Traceback (most recent call last):
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/wsgi.py", line 362, in __call__
    self.start_request(root, request, response)
  File "/home/spt/projects/pj-eureka/pj-eureka/ipages/app.py", line 137, in start_request
    super(EurekaApplication, self).start_request(shell_comp, request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/wsgi.py", line 262, in start_request
    security.set_user(self.security.create_user(request, response)) # Create the User object
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/common.py", line 150, in create_user
    (username, ids) = self.get_ids(request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/basic_auth.py", line 58, in get_ids
    (username, password) = self._get_ids(request, response)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/form_auth.py", line 128, in _get_ids
    ids = self.get_ids_from_cookie(request.cookies)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/form_auth.py", line 97, in get_ids_from_cookie
    return self.cookie_decode(data)
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/site-packages/nagare-0.3.0-py2.6.egg/nagare/security/form_auth.py", line 82, in cookie_decode
    return [s.decode('base64').decode('utf-8') for s in cookie.split(':')]
  File "/home/spt/projects/sandboxes/ipages/lib/python2.6/encodings/base64_codec.py", line 42, in base64_decode
    output = base64.decodestring(input)
  File "/home/spt/opt/python-2.6.5-stackless/lib/python2.6/base64.py", line 321, in decodestring
    return binascii.a2b_base64(s)
Error: Incorrect padding

I'm not sure why the problem appear in the first place (I don't play with the cookie myself), but the decoding should never fail.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.