Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't allow % in URLs at all.

  • Loading branch information...
commit 97ab2c8c7fa99f9d6e9fa1eadfd88a506ad3f4d5 1 parent 96addc3
@bigpresh bigpresh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Dancer/Plugin/NYTProf.pm
View
2  lib/Dancer/Plugin/NYTProf.pm
@@ -57,7 +57,7 @@ before sub {
return if $path =~ m{^/nytprof};
$path =~ s{^/}{};
$path =~ s{/}{_s_}g;
- $path =~ s{[^a-z0-9%]}{_}gi;
+ $path =~ s{[^a-z0-9]}{_}gi;
DB::enable_profile(
Dancer::FileUtils::path($setting->{profdir}, "nytprof.out.$path.$$")
);
Please sign in to comment.
Something went wrong with that request. Please try again.