summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-06 18:45:37 +0800
committerMole Shang <[email protected]>2023-08-06 18:45:37 +0800
commitbde03538d66c37d5690ab321173eb83ecfcaf2ff (patch)
treeae7bc81f0ca5ff8562afa61bbd7d0af94195b25a /src/ui.h
parentc21d660c0932c45bde08a92ffa2686fd472b1b9e (diff)
downloadhinata-bde03538d66c37d5690ab321173eb83ecfcaf2ff.tar.gz
hinata-bde03538d66c37d5690ab321173eb83ecfcaf2ff.tar.bz2
hinata-bde03538d66c37d5690ab321173eb83ecfcaf2ff.zip
process_url: strip illegal characters in filename
There are edge cases when a retrived title contains illegal characters (e.g. '/'). Replace it with a space to ensure a valid filename. Reproducible case: https://www.bilibili.com/video/av20827366/ (title="【2K/60fps】这可能是我做过最美的miku了【boomclap布料解算版】")
Diffstat (limited to 'src/ui.h')
0 files changed, 0 insertions, 0 deletions