False title-require error
Open
@coliff is already working on this.
Since Sep 1, 2026.
bug
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 474
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
The following code will produce a <title></title> must not be empty. error.
<!-- this .shtml file takes advantage of Apache server side dynamic content -->
<head>
<meta charset="UTF-8">
<title>
<!--#if expr="${REDIRECT_STATUS} = 400"-->
Page Name: Bad Request
<!--#elif expr="${REDIRECT_STATUS} = 403"-->
Page Name: Forbidden
<!--#elif expr="${REDIRECT_STATUS} = 404"-->
Page Name: Resource Not Found
<!--#else-->
Page Name: Error <!--#echo var="REDIRECT_STATUS"-->
<!--#endif-->
</title>
</head>
Since there is an #else then there will always be a title.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.