Skip to content

Restrict XLL filename to non-whitespace characters using JavaScript-compatible regex#193

Open
krisztianjofoldi wants to merge 1 commit intoOfficeDev:mainfrom
krisztianjofoldi:main
Open

Restrict XLL filename to non-whitespace characters using JavaScript-compatible regex#193
krisztianjofoldi wants to merge 1 commit intoOfficeDev:mainfrom
krisztianjofoldi:main

Conversation

@krisztianjofoldi
Copy link
Copy Markdown

This PR updates the extensionXllCustomFunctions.fileName property validation regex in the schema to use a simpler, JavaScript-compatible pattern: ^[^\\s]*\.xll$. This ensures that XLL filenames cannot contain any whitespace characters, and improves compatibility with JavaScript libraries. The previous pattern has been replaced to avoid unsupported control character escapes and simplify validation logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant