Changeset 13624


Ignore:
Timestamp:
Nov 27, 2012, 11:24:37 PM (8 years ago)
Author:
jordan
Message:

(trunk, libT) #5150 'improper escaping of dirnames with new json' -- add one-liner fix. this also fixes the regression test added in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/json.c

    r13614 r13624  
    173173              case 'r' : *out_it++ = '\r'; in_it+=2; unescaped = true; break;
    174174              case 't' : *out_it++ = '\t'; in_it+=2; unescaped = true; break;
     175              case '/' : *out_it++ = '/' ; in_it+=2; unescaped = true; break;
    175176              case '"' : *out_it++ = '"' ; in_it+=2; unescaped = true; break;
    176177              case '\\': *out_it++ = '\\'; in_it+=2; unescaped = true; break;
Note: See TracChangeset for help on using the changeset viewer.