{"issue":{"state":"open","created_at":"2011-11-29T21:47:43Z","updated_at":"2011-11-29T21:47:45Z","comments":2,"user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"body":"Hallo,\n\nim Inhaltselement Hyperlink wird ein \"leerer Anker\" (#) nicht übernommen - Grund ist parse_url in der Funktion idnaEncodeUrl(..) der System.php\n\nSoweit ich die \"Literatur\" verstanden habe, ist ein ...href=\"#\"... valide aber per Definition als Fragment nicht zulässig.\n\n* http://bytes.com/topic/html-css/answers/629341-empty-anchors-i-cant-find-w3c-specification\n* http://www.apps.ietf.org/rfc/rfc3986.html#sec-3.5\n\nDennoch ist der href \"gelebte Praxis\" und ich kenne keinen Browser, der damit nicht zurecht kommen würde.\n\nSollten nicht irgendwelche Sachen dagegen sprechen, wäre eine entsprechende Ausnahmebedingung prima like\n\n/system/ligraries/System.php #656\n\n```\n\tprotected function idnaEncodeUrl($strUrl)\n\t{\n\t\tif ($strUrl == '')\n\t\t{\n\t\t\treturn '';\n\t\t}\n\n\t\t// E-mail address\n\t\tif (strncasecmp($strUrl, 'mailto:', 7) === 0)\n\t\t{\n\t\t\treturn $this->idnaEncodeEmail($strUrl);\n\t\t}\n                \n\t\t// Empty anchor\n\t\tif ($strUrl == '#')\n\t\t{\n\t\t\treturn $strUrl;\n\t\t}\n\n\t\t$arrUrl = parse_url($strUrl);\n....\n```\n\nGruss zonky\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/3555.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by zonky on October 18th, 2011, at 09:00am (ID 3555)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2393907,"labels":[{"name":"Accepted","color":"6cc644","url":"https://api.github.com/repos/contao/import/labels/Accepted"},{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":3555,"title":"Inhaltselement Hyperlink: Link-Adresse als Anker","closed_at":null,"html_url":"https://github.com/contao/import/issues/3555","url":"https://api.github.com/repos/contao/import/issues/3555","milestone":{"state":"open","created_at":"2011-11-29T15:30:03Z","due_on":null,"closed_issues":1,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":41,"description":"Contao 2.10.4 (bugfix release)","title":"2.10.4","open_issues":1,"url":"https://api.github.com/repos/contao/import/milestones/41"}},"action":"created","comment":{"created_at":"2011-11-29T21:47:45Z","updated_at":"2011-11-29T21:47:45Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"body":"\"empty anchor\" - na eben ohne Ankertext...\n\nz.B.\n\n```\n<a href=\"#\">nix</a>\n```\n\nanbei Screenshot, was \"speicherbar\" sein sollte bei IE \"Hyperlink\"\n\ngruss zonky\n\n--- _Originally created by zonky on November 9th, 2011, at 03:01pm_","id":2950677,"url":"https://api.github.com/repos/contao/import/issues/comments/2950677"}}