We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self link in showATOM function does not work on reverse proxy as REQUEST_URI contain the local path (not the server path)
$feed.='<link rel="self" href="'.htmlspecialchars(serverUrl().$_SERVER["REQUEST_URI"]).'" />';
It is not good but it can be replaced by :
$feed.='<link rel="self" href="'.htmlspecialchars(serverUrl().'/?do=atom').'" />';
or
$feed.='<link rel="self" href="'.htmlspecialchars(serverUrl().'/?'.$_SERVER["QUERY_STRING"]).'" />';
I think it is one of the only place where url can't be relative.
It is maybe better to use indexUrl() ...
The text was updated successfully, but these errors were encountered:
@FanchTheSystem This is fixed in https://github.com/shaarli/Shaarli
Sorry, something went wrong.
No branches or pull requests
Self link in showATOM function does not work on reverse proxy as REQUEST_URI contain the local path (not the server path)
It is not good but it can be replaced by :
or
I think it is one of the only place where url can't be relative.
It is maybe better to use indexUrl() ...
The text was updated successfully, but these errors were encountered: