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
Python Version:3.8.2
Nikola Version:8.1.1
Operating System:Ubuntu 20.04.1 LTS
As title says, with URL_TYPE='full_path', Nikola strips away query strings from links. Is that intentional?
URL_TYPE='full_path'
The relevant line from the template: <script src="/assets/js/test.js?version={{ assets_version }}"></script>
<script src="/assets/js/test.js?version={{ assets_version }}"></script>
URL_TYPE='rel_path'
<script src="assets/js/all.js?version=1597143702"></script>
<script src=/assets/js/all.js></script>
URL_TYPE='absolute'
<script src="https://example.org/assets/js/all.js?version=1597143702"></script>
The text was updated successfully, but these errors were encountered:
Fixed in #3449, please test.
Sorry, something went wrong.
56fbd55
Merge pull request #3449 from getnikola/fix-3448
d218644
Fix #3448 — fix query/fragments in URL_TYPE=full_path
Kwpolska
No branches or pull requests
Environment
Python Version:3.8.2
Nikola Version:8.1.1
Operating System:Ubuntu 20.04.1 LTS
Description:
As title says, with
URL_TYPE='full_path'
, Nikola strips away query strings from links. Is that intentional?Example:
The relevant line from the template:
<script src="/assets/js/test.js?version={{ assets_version }}"></script>
URL_TYPE='rel_path'
:<script src="assets/js/all.js?version=1597143702"></script>
URL_TYPE='full_path'
:<script src=/assets/js/all.js></script>
URL_TYPE='absolute'
:<script src="https://example.org/assets/js/all.js?version=1597143702"></script>
The text was updated successfully, but these errors were encountered: