Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
df8ee335
Commit
df8ee335
authored
Jan 14, 2025
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two cases where sphinx detected URLs where it should not.
parent
a104a2b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
ipv6suckage.rst
doc/sphinx/phk/ipv6suckage.rst
+10
-2
varnishncsa.rst
doc/sphinx/reference/varnishncsa.rst
+1
-1
No files found.
doc/sphinx/phk/ipv6suckage.rst
View file @
df8ee335
...
...
@@ -37,12 +37,16 @@ webserver on the same machine.
No worries, says the power that controls what URLs look like, we
will just stick the port number after the IP# with a colon:
.. code-block:: text
http://192.168.0.1:8080/...
That obviously does not work with IPv6, so RFC3986 comes around and
says "darn, we didn't think of that" and puts the IPV6 address in
[...] giving us:
.. code-block:: text
http://[1080::8:800:200C:417A]:8080/
Remember that "harmless in shells" detail ? Yeah, sorry about that.
...
...
@@ -55,11 +59,15 @@ even need to know if it is a IPv4 or IPv6 address in the first place.
But it returns the IP# in one buffer and the port number in another,
so if you want to format the sockaddr in the by RFC5952 recommended
way (the same as RFC3986), you need to inspect the version field
in the sockaddr to see if you should do
in the sockaddr to see if you should do:
.. code-block:: text
"%s:%s", host, port
or
or:
.. code-block:: text
"[%s]:%s", host, port
...
...
doc/sphinx/reference/varnishncsa.rst
View file @
df8ee335
...
...
@@ -237,7 +237,7 @@ SIGNALS
NOTES
=====
The %r formatter is equivalent to
"%m http://%{Host}i%U%q %H"
. This
The %r formatter is equivalent to
``%m http://%{Host}i%U%q %H``
. This
differs from apache's %r behavior, equivalent to "%m %U%q %H".
Furthermore, when using the %r formatter, if the Host header appears
multiple times in a single transaction, the first occurrence is used.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment