Questions tagged as 'redirect'

1
answer

Customize CSRF protection error messages in CodeIgniter

In% with%, if I give a reload F5 on a form's page, the CodeIgniter error is returned. A protection against The action you have requested is not allowed . How do I customize the CSRF of this error message? Instead of...
asked by 26.06.2015 / 04:34
1
answer

How do I get the final URL of a JS redirect?

I was trying to make a code to get the final redirect url of some links, I could do for most of the links I needed, so I could not: link All other links worked with urllib2 or requests. s = requests.Session() r = s.get(lili[i], he...
asked by 23.04.2017 / 17:10
1
answer

Redirect failure Laravel

Expensive, Can you help me with this laravel redirect? I created a method where it re-evaluates the data and redirects, on the other hand at the time of redirect I get the error Route [climate.consensus.visual.ID] not defined, only that I def...
asked by 11.09.2018 / 19:35
2
answers

Add parameter at the end of the link with jQuery

I'm trying to get some specific URL's on a page, and add a parameter at the end of the link, but I'm not getting success as the object is returned instead of the link string + parameter. I made a very simple example of the code: var links =...
asked by 23.02.2017 / 16:01
1
answer

www htaccess redirect with segment in url

Where my site is hosted, I'm using .htaccess and it has a condition to remove the www and direct to the main page, without the www. <ifModule mod_rewrite.c> Header set X-Frame-Options DENY RewriteEngine On # Required to allow direct-l...
asked by 19.06.2017 / 22:43
1
answer

Redirect through the option value and keep it selected

I need to redirect according to the value of the "option" and keep this "option" selected after the redirect. I can already redirect through this code: $(function() { // bind change event to select $('#categoria').on('change', function() {...
asked by 26.01.2018 / 00:40
0
answers

redirect () - back () return with variable

I have this form here <form action="{{ route('usuario.update') }}" method="post"> <input id="token" type="hidden" value="{{ csrf_token() }}" name="_token"/> <input type="hidden" value="{{ $usuario }}" name="user">...
asked by 03.12.2017 / 20:57
0
answers

IIS 10 - Redirect HTTPS to HTTP request causing error MIXED CONTENT

I have a website in iis with HTTPS open, however, I need to redirect a specific request to http. Thisworks,however,thebrowserreturnsanerrorwhenissredirectstherequesttohttp.Following:MixedContent:Thepageat' link ' was loaded over HTTPS, bu...
asked by 09.11.2017 / 13:37
1
answer

Redirecting other domains (http / https) to main (https)

Talk about it! I'm having a question about https redirection. I have a ".com" domain (SSL installed), but ".com.br" does not have SSL. I only do the redirect for ".com" with SSL, until then blz, but if I try accessing the link site gives...
asked by 02.11.2017 / 15:54
0
answers

Problem loading view

Hello, I'm consuming an API in my controller and, upon receiving the result, I'd like to load a view from the user panel. But when the script arrives in the $this->load>view() method nothing happens. I debugged to know if the inform...
asked by 21.09.2017 / 20:56