X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/4cf6a5cbc6dbf7fd5672999eec4b3a210dbe2eaf9f181ff97e9641c44de610d7..29df2595733d045a38a2d5e881806ccd7d94c66d84749069943e49ccdfa5ee8f:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 8db5c34..fefa8f9 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -914,8 +914,7 @@ sub validate_project { my $input = shift || return undef; if (!validate_pathname($input) || !(-d "$projectroot/$input") || - !check_head_link("$projectroot/$input") || - ($export_ok && !(-e "$projectroot/$input/$export_ok")) || + !check_export_ok("$projectroot/$input") || ($strict_export && !project_in_list($input))) { return undef; } else {