# Base\_path not being substituted in some cases

**URL:** <https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142>\
**Category:** Bug\
**Tags:** fixed\
**Created:** [May 31, 2024, 7:27pm UTC](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142 "2024-05-31T19:27:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [July 29, 2024, 1:02pm UTC](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142/3 "2024-07-29T13:02:49Z")

</div>

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](https://meta.discourse.org/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](https://discuss.python.org/t/my-code-as-a-for-loop-that-dont-work/%25%7Bbase_path%7D/guidelines)

I can repro the issue with ‘[community guidelines](https://meta.discourse.org/guidelines)’ here on meta as well. I’ll slip this over to #Contribute > Bug. 👍

---

_[View the full topic](https://meta.discourse.org/t/base-path-not-being-substituted-in-some-cases/310142)._
