Base_path not being substituted in some cases

Just to pull the Python post over here for visibility:

When I click the flag icon under a post, a dialog pops up and the “our community guidelines” link doesn’t work. Tapping it doesn’t do anything, and when I open it in another tab, I get a “400 Bad Request” error page. Example URL: https://discuss.python.org/t/my-code-as-a-for-loop-that-dont-work/%{base_path}/guidelines

I can repro the issue with ‘community guidelines’ here on meta as well. I’ll slip this over to Contribute > Bug. :+1: