Ore icon indicating copy to clipboard operation
Ore copied to clipboard

WIP: Server-side page max checking

Open lol768 opened this issue 6 years ago • 6 comments

Problems:

  • Redirects transparently followed by browser, go(xhr.getResponseHeader('Location')); doesn't work because Play returns a redirect.

lol768 avatar Aug 05 '17 20:08 lol768

Why is this done with AJAX anyway?

lol768 avatar Aug 05 '17 20:08 lol768

Looks like it's done with AJAX because of the javascript logic before the request

simon816 avatar Aug 05 '17 21:08 simon816

Looks like it's done with AJAX because of the javascript logic before the request

Can you think of any reason why I can't implement this in the controller?

lol768 avatar Aug 06 '17 13:08 lol768

You probably could do it in the controller and just have a form instead

simon816 avatar Aug 06 '17 19:08 simon816

@lol768 Any update on this?

vectrixdevelops avatar Dec 31 '17 22:12 vectrixdevelops

@connorhartley

Unlikely to have time to finish this on top of my security consulting work, sorry.

If anyone wants to pick this up, I suggest you remove the unnecessary AJAX and do this with a POST properly. You can probably reuse the code I have in the controller, it'll be a case of making the frontend stuff form-based.

lol768 avatar Jan 04 '18 13:01 lol768

RIP

lol768 avatar Jan 11 '23 14:01 lol768