Adding support for crossdomain middleware

User can edit full value of cross domain policies
So, 
 1. split the value (to lines)
 2. put whitespace at the start of each line expect the first one 
 3. add the empty string at the end
Is this it or is it even more complicated?