zlin / wgetpaste

MIT License
34 stars 16 forks source link

Do not interpret content when posting to dpaste #26

Closed nvinson closed 3 years ago

nvinson commented 3 years ago

'echo -e' is used to prepare data for dpaste. However if echo -e "${content}" is used, the content gets interpreted as well. This results in constructs such as '\0' getting misinterpreted as the byte 0x00. As a result, the interperted context can result in output not compatible with dpaste.

fixes bug #25