Improve url link attribute validation