Skip to content

Commit

Permalink
Add a dot to the list of allowed characters in package slugs. Fixes #108
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Aug 26, 2019
1 parent 497836b commit a9d5f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Route/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Download implements Route {
*
* @var string
*/
const PACKAGE_SLUG_REGEX = '/[^A-Za-z0-9_\-]+/i';
const PACKAGE_SLUG_REGEX = '/[^A-Za-z0-9._\-]+/i';

/**
* Regex for sanitizing package versions.
Expand Down

0 comments on commit a9d5f35

Please sign in to comment.