WPIntell

Source evidence

path with slashes

/well-known-uris/ · support · 2017-05-04T22:07:00+00:00

complaintsentiment
mediumseverity
0.81relevance
0replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Greg Ross unresolved
I’m using this plugin to define WKURI’s for creating Let’s Encrypt certificates using CertBot and have run in to an issue. Using CertBot’s http authentication, it generates a WKURI for each domain name you are signing the certificate for. So for example if you are signing example.com and http://www.example.com , which both point to the same server, CertBot expects two different responses from two different URI’s under the WKURI namespace: example.com/.well-known/acme-challenge/big-long-random-string-of-digits returns one authentication string http://www.example.com/.well-known/acme-challenge/second-big-long-random-string-of-digits returns a different authentication string However the plugin only allows for one content to be returned for the acme-challenge WKURI. The fix is easy, simply remove the check for slashes in the path parameter, aka comment out/delete lines 226-229 in the plugin: if (strstr($result, '/') !== FALSE) { add_settings_error($id, 'invalid_suffix', __('URI path must not contain "/"') . ' - ' . $result, 'error'); return $valid; } This topic was modified 9 years ago by Greg Ross .

Comments

0 shown

No comments were stored for this source.