urlencode cursors, otherwise it fails on # and similar
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 0s
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 0s
This commit is contained in:
parent
248387b355
commit
70acfb1230
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -889,7 +889,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "little-hesinde"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
dependencies = [
|
||||
"calibre-db",
|
||||
"clap",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "little-hesinde"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
license = { workspace = true }
|
||||
authors = { workspace = true }
|
||||
|
@ -71,7 +71,7 @@ pub mod opds {
|
||||
pub mod templates;
|
||||
|
||||
pub const APP_NAME: &str = "little-hesinde";
|
||||
pub const VERSION: &str = "0.1.2";
|
||||
pub const VERSION: &str = "0.1.3";
|
||||
|
||||
/// Internal marker data in lieu of a proper `Accept` header.
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% extends "base" %}
|
||||
{% block title %}
|
||||
{% if has_previous %}
|
||||
<a class="secondary" href="/authors/{{ backward_cursor }}/DESC">← back</a>
|
||||
<a class="secondary" href="/authors/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||
{% endif %}
|
||||
{% if has_previous and has_more %}|{% endif%}
|
||||
|
||||
{% if has_more %}
|
||||
<a class="secondary" href="/authors/{{ forward_cursor }}/ASC">more →</a>
|
||||
<a class="secondary" href="/authors/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||
{% endif %}
|
||||
{% endblock title %}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% extends "base" %}
|
||||
{% block title %}
|
||||
{% if has_previous %}
|
||||
<a class="secondary" href="/books/{{ backward_cursor }}/DESC">← back</a>
|
||||
<a class="secondary" href="/books/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||
{% endif %}
|
||||
{% if has_previous and has_more %}|{% endif%}
|
||||
|
||||
{% if has_more %}
|
||||
<a class="secondary" href="/books/{{ forward_cursor }}/ASC">more →</a>
|
||||
<a class="secondary" href="/books/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||
{% endif %}
|
||||
{% endblock title %}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% extends "base" %}
|
||||
{% block title %}
|
||||
{% if has_previous %}
|
||||
<a class="secondary" href="/series/{{ backward_cursor }}/DESC">← back</a>
|
||||
<a class="secondary" href="/series/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||
{% endif %}
|
||||
{% if has_previous and has_more %}|{% endif%}
|
||||
|
||||
{% if has_more %}
|
||||
<a class="secondary" href="/series/{{ forward_cursor }}/ASC">more →</a>
|
||||
<a class="secondary" href="/series/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||
{% endif %}
|
||||
{% endblock title %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user