Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Zergling_man (zergling_man@sacred.harpy.faith)'s status on Wednesday, 25-Sep-2024 14:36:59 JSTZergling_man @realman543 @dcc If you just want to serve one page and you don't care about the path, it's pretty safe; it can ignore everything in the request and just immediately return page.
If you care a little bit about the path you can put a check for req.split('\n')[0].split(' ')[-1]=='/', that's still pretty safe.