{"push_id":736989760,"size":1,"distinct_size":1,"ref":"refs/heads/release-2.5.x","head":"d012f9997446b7f70e665ab997b4bfff3bdf0e43","before":"a746dbff7fd52a0a3286ec47c02d9a6b07eca969","commits":[{"sha":"d012f9997446b7f70e665ab997b4bfff3bdf0e43","author":{"email":"d48e92e0fe6588b5a3f3112bd87e4d5c011e10af@beanbaginc.com","name":"Barret Rennie"},"message":"Fix filename caption rendering\n\nPreviously, captions were escaped twice: once with `escapejs` in the\n`reviewable_page_data.js` template and again via the underscore template\nin the `RB.FileAttachmentThumbnail`. Since the only place a\n`RB.FileAttachmentModel` will retrieve an escaped value for the caption\nis from the JS template, we unescape it there so that the model recieves\nthe correct value.\n\nThe filename is now also correctly parsed.\n\nTesting Done:\nRan JS tests.\n\nVerified that a caption with unsafe characters was correctly set in\nboth the JS model and the database model.\n\nReviewed at https://reviews.reviewboard.org/r/7538/","distinct":true,"url":"https://api.github.com/repos/reviewboard/reviewboard/commits/d012f9997446b7f70e665ab997b4bfff3bdf0e43"}]}