fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
487 stars 301 forks source link

New user registration issues #2900

Closed kexuebin closed 4 years ago

kexuebin commented 4 years ago

New user registration, click on the email verification address to jump to the homepage of the website, the email address is:is:https://www.website.com/verify/yaoxingling//ke

With beautiful URLs enabled, NGINX rules are as follows:

Static files have versions in their URLs, and can be cached indefinitely.

location /public { expires 365d; access_log off; }

GIT config files can contain credentials or other sensitive data.

location /.git { deny all; }

User data is stored here by default.

location /data { deny all; }

Nothing sensitive here, but there is no need to publish it.

location /app { deny all; } location /modules { deny all; } location /resources { deny all; } location /vendor { deny all; }

Rewrite all other requests onto the webtrees front-controller.

location / { rewrite ^ /index.php last; }

webtrees runs from this one script.

location = /index.php { include fastcgi.conf; fastcgi_pass unix:/tmp/php-cgi-73.sock; }

kexuebin commented 4 years ago

Test closed beautiful URL, click verification email still invalid

fisharebest commented 4 years ago

This has already been fixed

https://github.com/fisharebest/webtrees/commit/256b18b914992685964d90e10ae11a8693496234