question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v 1.7 - forceRedirect

See original GitHub issue

Ahoj, odebrání forceRedirect bych považoval za brake change. Když, když server pošle v response redirect: "http://samesite/xxx" tak naja vytvoří request na redirectovanou stárnku, ale nepošle hlavičku x-requested-with: XMLHttpRequest, takže server místo json (snippetů) pošle HTML. Nejde o chybu?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mira-kovarcommented, Mar 18, 2020

Ok. považuj to za vyřízené. Děkuji za odpovědi. zkusím ty forceRedirecty přepsat.

0reactions
jiripudilcommented, Mar 18, 2020

Pokud při neúspěchu server neposílá redirect, nic se v takovém případě neděje, takže bych tomu formuláři prostě zapnul data-naja-force-redirect.

Jinak pokud obejdeš standardní chování (tj. nepošleš ze serveru přímo redirect, ale pošleš si potřebné informace v payloadu), můžeš si nad tím napsat vlastní obslužnou extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v 1.7 - forceRedirect · Issue #47 · naja-js/naja - GitHub
Ahoj, odebrání forceRedirect bych považoval za brake change. Když, když server pošle v response redirect: "http://samesite/xxx" tak naja ...
Read more >
http to https force redirect - YouTube
http to https force redirect. 66 views66 views. Premiered Apr 28, 2021 ... How To Become Invisible Online. Hallden. Hallden. •. 1.7M views...
Read more >
Force Redirect http to https || Player Of Code - YouTube
PHP Tutorial 2020 || PHP Tutorial for Beginners. All HTTP Request Redirect to HTTPS Automatically || Force Redirect http to https || Player ......
Read more >
Force / Redirect to SSL (https://) on website - YouTube
Hello Everyone,It's Me KaamiHaXThis Video Shows You How To Force SSL (HTTPS://)On Your Website Very Easily Using .htaccess!
Read more >
[solved] Force redirect to login page - Core developers
Hi, I'm new as PrestaShop developer. How can I create a module that redirects users to the login page if they are not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found