Page 1 of 2

[BUG] Apply utf-8 chars in urls

Posted: Thu Jun 03, 2010 8:53 am
by 1234homie
Firstly, sorry that I write here but I do not know where he is now moved bugtracker so I write here xD

I found a bug, if we add the link points utf-8 if we get a link and the text that it should be a link.

btw. I used google translator to translate this so sorry for mistakes :)

BUG example:
http://pl.wikipedia.org/wiki/XMLHtótpRequest

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 03, 2010 9:06 am
by Erik Frèrejean
Bugs should go in the bug tracker, not in the MOD writers discussion.

With regards to this issue, there have been multiple topics about this. See also this response of a def
nickvergessen wrote:non-ascii are not supported because the rfc say so
Btw, the correct url of the wiki article is http://i18n.ro/Rom%5Eana_pe_dispozitive_mobile
you get that, when you press the Pagină-link (first tab) on that page.

There are several tickets about utf8 in domains/urls and I think current status was not in 3.0 but maybe in 3.1 or later.

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 03, 2010 4:05 pm
by Desdenova
That should definitely be reconsidered now that unicode is now accepted for use in domain names.
See: http://blog.icann.org/2010/05/idn-cctlds/

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 03, 2010 8:58 pm
by Erik Frèrejean
This was a pretty recent statement ;). If there are tickets about this issue I'm sure that it will be reconsidered at some point.

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 03, 2010 11:45 pm
by Desdenova
Erik Frèrejean wrote:This was a pretty recent statement ;). If there are tickets about this issue I'm sure that it will be reconsidered at some point.
The changes were made official in October of 2009; it's the implementation that is recent.

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 23, 2011 7:34 pm
by 1234homie
topic posted 1 year ago and nothing ;/

Re: [BUG] Apply utf-8 chars in urls

Posted: Thu Jun 23, 2011 8:24 pm
by Paul
There has been no major release in that year, so thats not really weird at all ;). And besides that, this forum is not ment for bugs, the bugtracker is there for a reason :).

Re: [BUG] Apply utf-8 chars in urls

Posted: Sun Jun 26, 2011 4:21 pm
by 4_seven
Dr.Death wrote: http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=12339

Code: Select all

 Posted by Acyd Burn (Development Team Leader) on Jun 11th 2007, 11:15
To be specific: Olympus supports punycode but not special chars within domains. 
Posted by Acyd Burn (Development Team Leader) on May 28th 2008, 09:58
3.0.x will never support it. ;) Not in the near future. We may of course think about backporting it from the 3.2.x line once it is done there.
-----------------------------------------------------------------------------

Only thing you can do is an alternative url-bbcode, which allows special-chars in urls

Demo: http://www.4seven.de/forum/1/viewtopic. ... p=482#p482
BBCode

Code: Select all

Removed insecure BBcode. The warning is there for a reason.
If you want this, ignore the {TEXT} Security Warning. At least it's your choice..
Source: removed

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 10:44 am
by AmigoJack
For those who haven't found out yet: extending this RegEx also allows IDN URLs everywhere.

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 10:51 am
by Erik Frèrejean
4_seven wrote:Only thing you can do is an alternative url-bbcode, which allows special-chars in urls

Demo: http://www.4seven.de/forum/1/viewtopic. ... p=482#p482
NEVER use the {TEXT} token inside HTML tags!

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 2:44 pm
by 4_seven
Because of that i wrote: "It's your choice". As 'proof of concept' only, that it's possible.

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 2:55 pm
by Erik Frèrejean
We (for obvious reasons) do not allow the postal of snippets/MODs/BBCodes/etc that potentially compromise the phpBB security model. Using a {TEXT} token in a HTML tag is exactly that and therefore can't be posted on this board.

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 2:57 pm
by 4_seven
i understand..

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 11:17 pm
by 1234homie
AmigoJack wrote:For those who haven't found out yet: extending this RegEx also allows IDN URLs everywhere.
What about security in this case?

edit://

http://area51.phpbb.com/phpBB/viewtopic ... 85#p217485 - 4.0 OMG! I will die by natural death before it will be released xD

Re: [BUG] Apply utf-8 chars in urls

Posted: Mon Jun 27, 2011 11:39 pm
by 4_seven
EXreaction wrote:I've not extensively tested it however, but didn't notice any problems (can't think of any security issues either).
may another voice say something about this..