# 创建新主题的复杂URL导致服务器端错误

**URL:** <https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067>\
**Category:** Bug\
**Created:** [2021年三月22日 17:21 UTC](https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067 "2021-03-22T17:21:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2021年三月22日 19:26 UTC](https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067/4 "2021-03-22T19:26:43Z")

</div>

因此，问题是该 URL 对子分类和标签单独使用时有效，但对同时包含多个标签的子分类无效。已更新标题。

错误示例：[https://meta.discourse.org/new-topic?title=topic%20title&body=topic%20body&category=support/wordpress&tags=wordpress,blog](https://meta.discourse.org/new-topic?title=topic%20title&body=topic%20body&category=support/wordpress&tags=wordpress,blog)

通过 Ember 路由时运行正常，但在服务器端（例如在新标签页中打开）会失败。

---

_[View the full topic](https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067)._
