Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 7506)
+++ /CKEditor/trunk/CHANGES.html	(revision 7507)
@@ -55,4 +55,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/7745">#7745</a> : The list of frames on JAWS will not any more show the "ALT+0 for help" text for the editor entry.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/8979">#8979</a> : Overriding matches will not any more interfere on the Font size combo.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/5447">#5447</a> : Trimmed anchor name on dialog field.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js
===================================================================
--- /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js	(revision 7506)
+++ /CKEditor/trunk/_source/plugins/link/dialogs/anchor.js	(revision 7507)
@@ -130,5 +130,5 @@
 						validate : function()
 						{
-							if ( !this.getValue() )
+							if ( !this.getValue().match( /^[A-Za-z][-A-Za-z0-9_:.]+$/ ) )
 							{
 								alert( editor.lang.anchor.errorName );
