Potential fix for code scanning alert no. 1: Incomplete regular expression for hostnames

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Georg Bauer
2026-02-16 17:58:41 +01:00
committed by GitHub
parent f03e4bb827
commit 655b8207bd

View File

@@ -1630,7 +1630,7 @@ describe('ImportExecutionEngine E2E Tests', () => {
/**
* Creates a custom post with specific content for URL conversion testing
*/
function createPostWithContent(content: string, siteUrl: string = 'https://testblog.example.com'): ImportAnalysisReport {
function createPostWithContent(content: string, siteUrl: string = 'https://testblog'): ImportAnalysisReport {
const customPost: WxrPost = {
wpId: 9001,
title: 'URL Conversion Test Post',