News for hackers. Stuff that matters.

erdbeerkaese

Re:URL to PDF Microservice on Thursday October 05, 2017 @10:48AM (#15409590)
Unfortunately, the "sensible defaults" don't seem to check input URLs correctly and allow file:// URLs.

Just try ?url=file:///etc/passwd on the demo instance.

That seems to be a quite common issue with services like this built on generic libraries.

Re:GNU Coreutils Gotchas on Monday November 30, 2015 @09:55AM (#10649661)
Another way:

  while read line ; do basename "$line" ; done < a.txt