#7507 Project API errors on unicode screenshot name

v1.2.0
closed
sf-1 (616)
General
nobody
2015-08-20
2014-06-30
No

This screenshot filename: https://sourceforge.net/p/echaracter/screenshot/Pantalla%20Inicial-v3-ConSelecci%C3%B3n.jpg causes this error on /rest/p/echaracter/

File '/var/local/allura/Allura/allura/controllers/rest.py', line 298 in index
  return c.project.__json__()
File '/var/local/allura/Allura/allura/model/project.py', line 1103 in __json__
  for ss in self.get_screenshots()
File '/usr/lib64/python2.7/urllib.py', line 1268 in quote
  return ''.join(map(quoter, s))
KeyError: u'\\xf3'

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-06-30
    • summary: Project API errors on --> Project API errors on unicode screenshot name
     
  • Dave Brondsema

    Dave Brondsema - 2014-06-30
    • Size: --> 1
     
  • Alexander Luberg

    • status: open --> in-progress
    • assigned_to: Alexander Luberg
     
  • Alexander Luberg

    • status: in-progress --> code-review
     
  • Alexander Luberg

    al/7507

     
  • Dave Brondsema

    Dave Brondsema - 2014-07-09
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.