Results of 1 - 10 of about 73 for redirect (0.002 sec.)
- The redirects app — Django 4.0.6 ドキュメント 12380
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... nts | Index | Modules « previous | up | next » The redirects app ¶ Django comes with an optional redirects app ... lication. It lets you store redirects in a database and handles the redirecting for you ... manently by default. インストール ¶ To install the redirects app, follow these steps: Ensure that the django.c ... sites framework is installed . Add 'django.contrib.redirects' to your INSTALLED_APPS setting. Add 'django.cont ...
-
https://man.plustar.jp/django/ref/contrib/redirects.html
- [similar]
- Django のショートカット関数 — Django 4.0.6 ドキュメント 10997
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... equest ), content_type = 'application/xhtml+xml' ) redirect() ¶ redirect ( to , * args , permanent = False , * ... * kwargs ) ¶ Returns an HttpResponseRedirect to the appropriate URL for the arguments passed. T ... or relative URL, which will be used as-is for the redirect location. By default issues a temporary redirect; ... pass permanent=True to issue a permanent redirect. 例 ¶ You can use the redirect() function in a num ...
-
https://man.plustar.jp/django/topics/http/shortcuts.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 10773
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ) if user is not None : login ( request , user ) # Redirect to a success page. ... else : # Return an 'invalid ... def logout_view ( request ): logout ( request ) # Redirect to a success page. logout() は対象となるユーザーが ... to check request.user.is_authenticated and either redirect to a login page: from django.conf import settings ... from django.shortcuts import redirect def my_view ( request ): if not request . user . i ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- Django 1.8.18 リリースノート — Django 4.0.6 ドキュメント 10354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... two security issues in 1.8.17. CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric ... g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security chec ... k for these redirects (namely django.utils.http.is_safe_url() ) conside ... developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they coul ...
-
https://man.plustar.jp/django/releases/1.8.18.html
- [similar]
- Django 1.10.7 release notes — Django 4.0.6 ドキュメント 10312
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ty issues and a bug in 1.10.6. CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric ... g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security chec ... k for these redirects (namely django.utils.http.is_safe_url() ) conside ... developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they coul ...
-
https://man.plustar.jp/django/releases/1.10.7.html
- [similar]
- Django 1.9.13 リリースノート — Django 4.0.6 ドキュメント 10089
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... リーズの最終リリースとなります。 CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric ... g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security chec ... k for these redirects (namely django.utils.http.is_safe_url() ) conside ... developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they coul ...
-
https://man.plustar.jp/django/releases/1.9.13.html
- [similar]
- Django 1.3.5 release notes — Django 4.0.6 ドキュメント 8985
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ption django.core.exceptions.SuspiciousOperation . Redirect poisoning ¶ Also following up on a previous issue: ... uly of this year, we made changes to Django's HTTP redirect classes, performing additional validation of the s ... cheme of the URL to redirect to (since, both within Django's own supplied appli ... hird-party applications, accepting a user-supplied redirect target is a common pattern). Since then, two indep ...
-
https://man.plustar.jp/django/releases/1.3.5.html
- [similar]
- Django 1.4.3 release notes — Django 4.0.6 ドキュメント 8985
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ption django.core.exceptions.SuspiciousOperation . Redirect poisoning ¶ Also following up on a previous issue: ... uly of this year, we made changes to Django's HTTP redirect classes, performing additional validation of the s ... cheme of the URL to redirect to (since, both within Django's own supplied appli ... hird-party applications, accepting a user-supplied redirect target is a common pattern). Since then, two indep ...
-
https://man.plustar.jp/django/releases/1.4.3.html
- [similar]
- Django 1.8.10 リリースノート — Django 4.0.6 ドキュメント 8286
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... nd several bugs in 1.8.9. CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect ... g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security chec ... k for these redirects (namely django.utils.http.is_safe_url() ) conside ... request's host is http://mysite.example.com , but redirecting to this URL sends the user to attacker.com . Al ...
-
https://man.plustar.jp/django/releases/1.8.10.html
- [similar]
- Django 1.4.20 release notes — Django 4.0.6 ドキュメント 8202
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... 9. Mitigated possible XSS attack via user-supplied redirect URLs ¶ Django relies on user input in some cases ( ... g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security chec ... ks for these redirects (namely django.utils.http.is_safe_url() ) accepte ... ters such as %08//example.com as relative paths so redirection to an unsafe target isn't a problem either. How ...
-
https://man.plustar.jp/django/releases/1.4.20.html
- [similar]