Closed VladimirAlexiev closed 9 years ago
A bit of progress towards fixing this.
There's an ABNF for IRIs in RFC 3987. The problem is that the ucschar
seen in the iunreserved
production is not reflected in the $subdomain
and $path
parts of the prefix.cc regex. So what needs to be done:
ucschar
range, assuming UTF-8 encoding. PHP's preg_match
has a u
modifier that should be helpful here.prefix.cc/foaf.go
style and reverse lookups work correctly; some URI-to-IRI or IRI-to-URI conversion may be necessary otherwise.Fixed and deployed. See http://prefix.cc/bgcat
I'm trying to add a prefix bgcat http://bg.dbpedia.org/resource/Категория:
prefix.cc says "URI must start with http:// or https://, end in / or : or #." But it does (ends in ":")! Maybe it's disagreeing with the Cyrilllic characters?
Richard: I did a few tests and you're right, it's the non-URI characters.