Long links break the click tracker

See examples on our staging server. Clicking on the link normally causes a white screen, opening in a new tab works fine.

1개의 좋아요

Post the link here. Try is reimaged every day so nothing there has any permanence other than the built in topics.

2개의 좋아요

Definitely a bug, @eviltrout. Of course that link could charitably be called “from hell”

1개의 좋아요

Indeed, on our instance it Oneboxes to hide the nasty URL.

Here’s a fix for this one:

https://github.com/discourse/discourse/commit/43c7320f555ed6c933f3acf910039c645af55566

(once it deploys we’ll have to rebake the posts with the long links.)

2개의 좋아요

When trying to open this link on our Discourse, the link tracker breaks

https://wikibase-graph-builder.apps.allmende.io/?mode=wdqs&wdqs=prefix%20bd:%20%3Chttp:%2F%2Fwww.bigdata.com%2Frdf%23%3E%0Aprefix%20wikibase:%20%3Chttp:%2F%2Fwikiba.se%2Fontology%23%3E%0Aprefix%20beta:%20%3Chttp:%2F%2Fwikiba.se%2Fontology-beta%23%3E%0Aprefix%20wdt:%20%3Chttps:%2F%2Fbase.transformap.co%2Fprop%2Fdirect%2F%3E%0Aprefix%20ps:%20%3Chttps:%2F%2Fbase.transformap.co%2Fprop%2Fstatement%2F%3E%0Aprefix%20wd:%20%3Chttps:%2F%2Fbase.transformap.co%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FpropUrl%20%3FpropertyLabel%20%3FlinkTo%20WHERE%20%7B%0A%0A%20%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q237%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q238%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q239%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q240%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q241%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q243%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q244%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q245%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q247%20as%20%3FlinkTo)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20UNION%0A%20%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q237%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%20.%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q238%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q239%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q240%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q241%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q243%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q244%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q245%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q247%20as%20%3Fitem)%0A%20%20%20%20%20%20%3Fitem%20%3FpropUrl%20%3FlinkTo%20.%0A%20%20%20%20%20%20%3Fproperty%20beta:directClaim%20%3FpropUrl%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20UNION%0A%20%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q237%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q238%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q239%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q240%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q241%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q243%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q244%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q245%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20BIND%20(wd:Q247%20as%20%3Fs)%0A%20%20%20%20%20%20%3Fs%20%3Fp%20%3Fitem%20.%0A%20%20%20%20%20%20%3Fpl%20beta:directClaim%20%3Fp%0A%20%20%20%20%7D%0A%20%20%7D%0A%0A%20%20SERVICE%20wikibase:label%20%7Bbd:serviceParam%20wikibase:language%20%22en%22%20%7D%0A%7D%0AORDER%20BY%20%3FitemLabel

The behaviour is similar to what is described in Long links break the click tracker

This Discourse says

414 Request-URI Too Large

What a pity, it is a working URL, but may be a browser specificity.

StackOverflow says there is some kind of rough limit at 2000 characters for web servers due to the sitemap specification.

Browsers can handle a lot more, but this will most probably not be solved for the server.

1개의 좋아요

Hi @yousef, please notice that it does not work now: your URL is cut off at 500th character and may not display the intended result — a wontfix bug.


Actually, are we lucky?
My new post here has your link working with all its 853 characters!
Only older posts are still broken, maybe.
That’s super great if my bug is fixed now! I will try at once.


Sorry I test here as it is not fixed on our forums → Search for edits - MusicBrainz (1400 characters).

Actually it is not fixed in my case. I wonder why it now works with 853 characters (which is more than 500) but not 1400.


Work‐around (with Opera presto and Vivaldi, at least): Mouse‐wheel‐click all the links to bypass any javascript (like click tracker).

1개의 좋아요

아직 이 소스에서 max_url_length = 500가 보이는데도:

1400자 길이의 URL이 이제 작동합니다!
853자 길이의 URL도 이제 작동합니다!

멋지네요! :slight_smile:

1개의 좋아요

이 주제는 41시간 후 자동으로 닫혔습니다. 더 이상 새 답글을 작성할 수 없습니다.