FreeBSD/doc 4b490e1 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: fix comments, minor cleanup
DeltaFile
+9-33website/content/en/cgi/ports-autocomplete.cgi
+9-331 files

FreeBSD/doc 9fc8ef3 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: use the OpenSearch suggestions content type

Send application/x-suggestions+json instead of text/javascript;
the response is JSON, not JavaScript.
DeltaFile
+1-1website/content/en/cgi/ports-autocomplete.cgi
+1-11 files

FreeBSD/doc a868647 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: no default query

Without a query parameter the script returned suggestions for
the test query "bbbike". Return an empty list instead.
DeltaFile
+1-3website/content/en/cgi/ports-autocomplete.cgi
+1-31 files

FreeBSD/doc 50a39cc — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: apply Firefox workaround after sorting

The "::" and "." workaround changed the data before the prefix
sort, so queries containing "::" or "." never matched as a
prefix. Apply it to the final list instead.
DeltaFile
+8-5website/content/en/cgi/ports-autocomplete.cgi
+8-51 files

FreeBSD/doc 1fa63f6 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: fix prefix sort for case-sensitive search

With icase=0 the data was still lowercased before the prefix
check, so queries with uppercase letters never matched as a
prefix.
DeltaFile
+2-2website/content/en/cgi/ports-autocomplete.cgi
+2-21 files

FreeBSD/doc eb6563e — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: fix join() in debug output
DeltaFile
+2-2website/content/en/cgi/ports-autocomplete.cgi
+2-21 files

FreeBSD/doc f78c022 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: harden input handling

Limit the query to 64 characters, ignore the debug parameter
for web requests, and remove IFS, CDPATH, ENV and BASH_ENV from
the environment before running grep.
DeltaFile
+9-3website/content/en/cgi/ports-autocomplete.cgi
+9-31 files

FreeBSD/doc 846777f — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: fix unchecked fork
DeltaFile
+7-7website/content/en/cgi/ports-autocomplete.cgi
+7-71 files

FreeBSD/doc 2f974d9 — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: use JSON module for output
DeltaFile
+6-16website/content/en/cgi/ports-autocomplete.cgi
+6-161 files

FreeBSD/doc ccff87b — website/content/en/cgi ports-autocomplete.cgi

ports-autocomplete.cgi: search for fixed strings, not regexes
DeltaFile
+3-0website/content/en/cgi/ports-autocomplete.cgi
+3-01 files

FreeBSD/doc c98aaaa — website/content/en/cgi ports.cgi

ports.cgi: remove unused %msec
DeltaFile
+3-7website/content/en/cgi/ports.cgi
+3-71 files

FreeBSD/doc 9413771 — website/content/en/cgi ports.cgi

ports.cgi: remove dead code
DeltaFile
+2-11website/content/en/cgi/ports.cgi
+2-111 files

FreeBSD/doc 8cce711 — website/content/en/cgi ports.cgi

ports.cgi: clarify comment
DeltaFile
+2-2website/content/en/cgi/ports.cgi
+2-21 files

FreeBSD/doc 7e9c694 — website/content/en/cgi ports.cgi

ports.cgi: don't read INDEX for invalid package queries

A pkg search with a query that is not a valid category/port
path fell through to the INDEX search, which never matches
stype=pkg. Skip it and show "nothing found" directly.
DeltaFile
+4-2website/content/en/cgi/ports.cgi
+4-21 files

FreeBSD/doc 52f54ad — website/content/en/cgi ports.cgi

ports.cgi: fix readcoll() fallback when INDEX is missing
DeltaFile
+8-14website/content/en/cgi/ports.cgi
+8-141 files

FreeBSD/doc cc0a43c — website/content/en/cgi ports.cgi

ports.cgi: sanitize query in log message

A newline in the query could inject fake lines into the error
log. Replace non-printable characters before logging.
DeltaFile
+2-1website/content/en/cgi/ports.cgi
+2-11 files

FreeBSD/doc db25f14 — website/content/en/cgi cgi-style.pl cgi-style-responsive.pl

cgi-style*.pl: remove dead code
DeltaFile
+8-59website/content/en/cgi/cgi-style-responsive.pl
+0-14website/content/en/cgi/cgi-style.pl
+8-732 files

FreeBSD/doc c29a92e — website/content/en/cgi cgi-style-responsive.pl

cgi-style-responsive.pl: anchor the HTTP_HOST check

Match the full host name, so hosts like
ports.freebsd.org.example.com no longer match.
DeltaFile
+1-1website/content/en/cgi/cgi-style-responsive.pl
+1-11 files

FreeBSD/doc 07cc6e9 — website/content/en/cgi cgi-style-responsive.pl

cgi-style-responsive.pl: remove canonical link and og:url

Every CGI page declared https://www.freebsd.org/ as its canonical
URL, telling search engines it is a duplicate of the home page.
Remove both tags so each page uses its own URL.

Note: these lines were copied from the main website template;
don't re-add them when syncing.
DeltaFile
+0-2website/content/en/cgi/cgi-style-responsive.pl
+0-21 files

FreeBSD/doc 767d063 — documentation/static/pgpkeys rlibby.key

pgpkeys: update key expiry for rlibby@
DeltaFile
+105-77documentation/static/pgpkeys/rlibby.key
+105-771 files

FreeBSD/doc 262dab7 — website/content/en/cgi ports.cgi

ports.cgi: validate entries in the categories file
DeltaFile
+5-4website/content/en/cgi/ports.cgi
+5-41 files

FreeBSD/doc c0ac2ad — website/content/en/cgi ports.cgi

ports.cgi: print package table header on first valid line
DeltaFile
+3-2website/content/en/cgi/ports.cgi
+3-21 files

FreeBSD/doc 7047acc — website/content/en/cgi ports.cgi

ports.cgi: fix typos, grammar and help text
DeltaFile
+21-22website/content/en/cgi/ports.cgi
+21-221 files

FreeBSD/doc 097658d — website/content/en/cgi ports.cgi

ports.cgi: fix/refactor URL decoding of form parameters
DeltaFile
+5-11website/content/en/cgi/ports.cgi
+5-111 files

FreeBSD/doc 5a31e09 — website/content/en/cgi ports.cgi

ports.cgi: use div instead of span around paragraphs

A span is an inline element and must not contain block elements
such as p. Use a div for the "nothing found" message and the
noscript warning.
DeltaFile
+4-4website/content/en/cgi/ports.cgi
+4-41 files

FreeBSD/doc 9fb93d1 — website/content/en/cgi ports.cgi

ports.cgi: don't die on malformed package metadata
DeltaFile
+6-1website/content/en/cgi/ports.cgi
+6-11 files

FreeBSD/doc b249228 — website/content/en/cgi ports.cgi

ports.cgi: clean up environment for taint mode
DeltaFile
+1-0website/content/en/cgi/ports.cgi
+1-01 files

FreeBSD/doc 2ebc9f9 — website/content/en/cgi ports.cgi

ports.cgi: stricter html escape
DeltaFile
+6-6website/content/en/cgi/ports.cgi
+6-61 files

FreeBSD/doc a52fcbb — website/content/en/cgi ports.cgi

ports.cgi: improve encode function
DeltaFile
+2-3website/content/en/cgi/ports.cgi
+2-31 files

FreeBSD/doc 924404c — website/content/ru/community mailinglists.adoc

website/ru: Update community/mailinglists.adoc

Update to EN 3bfc2f42f246495e375f0a33a86dfb5c932fb138
DeltaFile
+2-2website/content/ru/community/mailinglists.adoc
+2-21 files