On Tue, Apr 28, 2015 at 12:04 PM, Iain Duncan <[email protected]> wrote: > Hi folks, I recently revisted a couple of older project to update it and > bring it up to current python packages. It's now running on Pyramid 1.5. All > went pretty smoothly except for one of them, the redirects are not working. > They both use my internal tools so have very similar code, but on one of > them, when I either raise or return an HTTPFound, the app redirects to a URL > where every letter of the base url has an extra comma like so: > > http://g,o,d,e,l,t,a,s,t,a,g,i,n,g,.,x,o,r,n,o,t,.,c,o,m/test_target
It's a big in Paste 2 that hit me last week in my Pylons application. A method call got changed from 'getheaders' to 'get', which makes it return a string rather than a list of strings. Downgrade to 1.7.5.1 or patch it per the bug report (Python 2 only). If you're not using Python 3 there's no urgent need to upgrade to Paste 2. # Issue 4 https://bitbucket.org/ianb/paste/issue/4/wsgi-environ-totally-borked # news.txt https://bitbucket.org/ianb/paste/src/0acdee24a78d08c44aa96f3ce3fbcbbf6a60adee/docs/news.txt?at=default -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
