jtsagata
(Jtsagata)
June 1, 2019, 12:18am
1
Onebox have problem with some links from a wordpress site. The problem seems to have something with not latin characters in the url.
2 links to demonstrate the problem is this and this . I can follow the links in the inline version, but not from the onebox version. Same if i use a url shorten service.
The same links onebox version
Οι γνωστοί μηχανισμοί αποκλεισμού διαφημίσεων στις ιστοσελίδες (adblocks), όπως το Adblock Plus, το uBlock Origin, το Ghostery κλπ, σύντομα θα σταματήσουν να δουλεύουν στον Chrome.…
1 Like
Falco
(Falco)
June 1, 2019, 12:42am
2
Those aren’t valid URLs.
They are Internationalized Resource Identifier - Wikipedia which don’t get the same treatment.
4 Likes
jtsagata
(Jtsagata)
June 1, 2019, 6:57am
3
Valid or invalid many of the local sites use this form and that is outside our control. For example all of the Greek wikipedia
Συντεταγμένες: 41°53′N 12°29′E / 41.89°N 12.48°E / 41.89; 12.48
Η αρχαία Ρώμη ήταν αρχικά ένας ιταλικός οικισμός, που χρονολογείται από τον 8ο αιώνα π.Χ. και αναπτύχθηκε στην πόλη της Ρώμης και στη συνέχεια έδωσε το όνομά του στην αυτοκρατορία, της οποίας αποτέλεσε την έδρα, καθώς και στον εκτεταμένο πολιτισμό που ανέπτυξε η αυτοκρατορία. Ανήκοντας γεωγραφικά στον χώρο της Μεσογείου Θάλασσας και με επίκεντρο την πόλη της Ρώμης, εξελίχθηκε σε μία από τις μεγαλύτερες αυτοκρατορίες του αρχαίου ...
And as everything seems to work, and the onebox is created it was not detectable by the end user. Why not just pass the link as given, or the short url as given;
Is there any way to detect and don’t make onebox it such cases, or to disable onebox completly?
1 Like
Yes, trivially, just enter a space (or any other character or text) before the link.
You can also blacklist the domain from oneboxing in your site settings.
3 Likes
It doesn’t look like it. Raw :
https://cerebrux.net/2019/05/28/brave-browser-%ce%bf-%ce%b4%ce%af%ce%ba%ce%b1%ce%b9%ce%bf%cf%82-browser-%cf%80%ce%bf%cf%85-%cf%80%cf%81%ce%bf%cf%83%cf%86%ce%ad%cf%81%ce%b5%ce%b9-%cf%84%ce%b1%cf%87%cf%8d%cf%84%ce%b7%cf%84%ce%b1/
In the onebox link, this gets double-encoded to this:
https://cerebrux.net/2019/05/28/brave-browser-%25ce%25bf-%25ce%25b4%25ce%25af%25ce%25ba%25ce%25b1%25ce%25b9%25ce%25bf%25cf%2582-browser-%25cf%2580%25ce%25bf%25cf%2585-%25cf%2580%25cf%2581%25ce%25bf%25cf%2583%25cf%2586%25ce%25ad%25cf%2581%25ce%25b5%25ce%25b9-%25cf%2584%25ce%25b1%25cf%2587%25cf%258d%25cf%2584%25ce%25b7%25cf%2584%25ce%25b1/
The confusion may stem from the fact that Chrome and Firefox both display URIs as IRIs, e.g. in the address bar, for ease of reading.
3 Likes
Falco
(Falco)
June 1, 2019, 2:38pm
6
Oh I see now, so it’s a report of a regression of Onebox breaks if there's chinese text in URL ?
I’m confused, because the oneboxes in OP are working fine for me in both Firefox and Chrome…
5 Likes
Looks like it. I guess the cooked versions are cached in that thread, but here’s the same link:
Свободное программное обеспе́чение (СПО, англ. free software, также software libre или libre software), свободный софт или свободные программы — программное обеспечение, пользователи которого имеют права («свободы») на его неограниченную установку, запуск, свободное использование, изучение, распространение и изменение (совершенствование), а также распространение копий и результатов изменения. Если на программное обеспечение есть исключительные права, то свободы объявляются при помощи свобод Как и...
The onebox looks fine, but upon clicking the link, I get an error page (“Недопустимое название”) in both Chromium 74 and Firefox 67 (Ubuntu 18.04.2).
1 Like
sam
(Sam Saffron)
June 6, 2019, 7:26am
8
@tgxworld adding for your list to look at this, not a high priority but since you worked on the original makes sense you take this one.
3 Likes
jtsagata
(Jtsagata)
September 4, 2019, 6:04pm
9
Thanks for solving the problem in the latest version
2 Likes