Skip to content

Commit

Permalink
Restored ERR_URN_RESOLVE per a PR request
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard-bagdasaryan committed Nov 15, 2024
1 parent fbe4fde commit 0f42fbd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions errors/template.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ ERROR_TEMPLATES = \
templates/ERR_TOO_BIG \
templates/ERR_UNSUP_HTTPVERSION \
templates/ERR_UNSUP_REQ \
templates/ERR_URN_RESOLVE \
templates/ERR_WRITE_ERROR \
templates/ERR_ZERO_SIZE_OBJECT
38 changes: 38 additions & 0 deletions errors/templates/ERR_URN_RESOLVE
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta type="copyright" content="Copyright (C) 1996-2023 The Squid Software Foundation and contributors">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: The requested URN could not be retrieved</title>
<style type="text/css"><!--
%l

body
:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
:lang(he) { direction: rtl; }
--></style>
</head><body id=%c>
<div id="titles">
<h1>ERROR</h1>
<h2>A URL for the requested URN could not be retrieved</h2>
</div>
<hr>

<div id="content">
<p>The following error was encountered while trying to retrieve the URN: <a href="%U">%U</a></p>

<blockquote id="error">
<p><b>Cannot Resolve URN</b></p>
</blockquote>

<p>Hey, don't expect too much from URNs on %T :)</p>

<p>Your cache administrator is <a href="mailto:%w%W">%w</a>.</p>
<br>
</div>

<hr>
<div id="footer">
<p>Generated %T by %h (%s)</p>
<!-- %c -->
</div>
</body></html>

0 comments on commit 0f42fbd

Please sign in to comment.