Ticket #432 (closed defect: wontfix)
paste.auth.auth_tkt.encode_ip_timestamp breaks on IPv6 clients
| Reported by: | wRAR | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | paste | Version: | released-version |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When AuthTKT wants to issue a cookie with the IP included, it tries to parse v6 IP as if it was v4:
File '/usr/lib/pymodules/python2.6/paste/auth/auth_tkt.py', line 177 in encode_ip_timestamp
ip_chars = .join(map(chr, map(int, ip.split('.'))))
ValueError?: invalid literal for int() with base 10: '2002:4321:bcde::1'
Paste 1.7.4
Change History
Note: See
TracTickets for help on using
tickets.
