
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
django-mobile-redirect
Advanced tools
.. image:: https://circleci.com/gh/ryanbagwell/django-mobile-redirect/tree/master.svg?circle-token=e1a063c0881f0c592377120677a8ad969c3a2932 :target: https://circleci.com/gh/ryanbagwell/django-mobile-redirect/tree/master
Django middleware to redirect mobile devices to the given url.
Install with pip::
pip install ...
Add the following to Django settings::
MIDDLEWARE_CLASSES = [
'mobile_redirect.middleware.MobileRedirectMiddleware',
]
'MOBILE_REDIRECT_URL' = 'https://github.com/ryanbagwell/django-mobile-redirect'
Requests with user agent strings matching mobile and tablet devices will be redirected to the specified url
Mobile and tablet devices are defined according to the data at browscap.org_.
.. _browscap.org: http://browscap.org/
FAQs
Redirects devices with mobile user agent strings to a specified url.
We found that django-mobile-redirect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.