Projet

Général

Profil

0001-oidc-fix-next-url-encoding-on-login-page.patch

Serghei Mihai, 08 octobre 2019 11:55

Télécharger (1,09 ko)

Voir les différences:

Subject: [PATCH 1/2] oidc: fix next url encoding on login page

 .../templates/authentic2_auth_oidc/login.html                  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
src/authentic2_auth_oidc/templates/authentic2_auth_oidc/login.html
1 1
{% for provider in providers %}
2 2
  <p id="oidc-p-{% firstof provider.slug provider.name|slugify %}">
3 3
    <a id="oidc-a-{% firstof provider.slug  provider.name|slugify %}"
4
       href="{% url "oidc-login" pk=provider.pk %}?{{ request.GET.urlencode }}">{{ provider.name }}</a>
4
       href="{% url "oidc-login" pk=provider.pk %}?next={{ request.GET.next|urlencode }}">{{ provider.name }}</a>
5 5
  </p>
6 6
{% endfor %}
7

  
7
-