# Oneboxing of sites with hash (#) in URL not working

**URL:** <https://meta.discourse.org/t/oneboxing-of-sites-with-hash-in-url-not-working/66804>\
**Category:** Bug\
**Created:** [2017 年 7 月 25 日午後 6:46 UTC](https://meta.discourse.org/t/oneboxing-of-sites-with-hash-in-url-not-working/66804 "2017-07-25T18:46:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2017 年 7 月 25 日午後 6:51 UTC](https://meta.discourse.org/t/oneboxing-of-sites-with-hash-in-url-not-working/66804/3 "2017-07-25T18:51:21Z")

</div>

Aha - GitHub serves a “Canonical” URL on pages with specified line numbers.

```plaintext
<link rel="canonical" href="https://github.com/discourse/discourse-slack-official/blob/master/lib/discourse_slack/slack.rb" data-pjax-transient="">

```

~~So now that canonical URLs are prioritised, it's broken :(~~

---

_[View the full topic](https://meta.discourse.org/t/oneboxing-of-sites-with-hash-in-url-not-working/66804)._
