You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add hyperlink validation and refactor CreateHyperlink (#2994)
Refactored `CreateHyperlink` to improve clarity and maintainability.
- Changed `sourceLinkAbsoluteUri` declaration to `string`.
- Added `IsValidHyperlink` method to validate hyperlink format and
protocol.
- Introduced `GetAbsoluteUri` method for reusable URI parsing logic.
- Enhanced logging to provide detailed warnings for invalid hyperlinks.
- Improved code readability by modularizing validation and URI handling.
0 commit comments