tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

fix(capabilities): update default shell command validator pattern

Open akazwz opened this issue 1 year ago • 1 comments

Description

fix(capabilities): update docs default shell command validator pattern

  • What does this PR change? Updates the default shell command validator pattern from \\S+ to * to better support common shell command patterns. This change allows:

    • Commands with spaces (e.g., echo 'Hello World!')
    • Commands with quotes
    • Other common shell command patterns

    This improvement enhances developer experience by allowing standard shell commands to work out of the box while maintaining security through the capabilities system.

akazwz avatar Nov 26 '24 03:11 akazwz

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
Latest commit a0d74bfa5e0cb7d23aea39288332f8dab9f46615
Latest deploy log https://app.netlify.com/sites/tauri-v2/deploys/6745424ed490310008033adc
Deploy Preview https://deploy-preview-3021--tauri-v2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 99 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Nov 26 '24 03:11 netlify[bot]