[xwiki-devs] HTML form which redirects user to UNC folder
Hi, I am creating an HTML form which should redirect a user to an UNC folder after they have clicked on a button. I got everything setup, but the $response.sendRedirect($folder) doesn't open the folder. If I just put $folder on the page, it shows the UNC-path (and when I click that link, it takes me to that folder) So I know that the link $folder is correct...but how can I open that folder automaticly? Should I be using redirect or something else? -- View this message in context: http://xwiki.475771.n2.nabble.com/HTML-form-which-redirects-user-to-UNC-fold... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi, Redirection to file-system is forbidden by some OS and disadvised by many browsers: that security leak Regards, Arnaud. 2013/5/24 Hamster <[email protected]>
Hi,
I am creating an HTML form which should redirect a user to an UNC folder after they have clicked on a button.
I got everything setup, but the $response.sendRedirect($folder) doesn't open the folder.
If I just put $folder on the page, it shows the UNC-path (and when I click that link, it takes me to that folder)
So I know that the link $folder is correct...but how can I open that folder automaticly?
Should I be using redirect or something else?
-- View this message in context: http://xwiki.475771.n2.nabble.com/HTML-form-which-redirects-user-to-UNC-fold... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Yeah, I had a feeling that "security issues" might be blocking this :-) Atleast I can generate a link (and when the user clicks the link the folder will be opened) Thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/HTML-form-which-redirects-user-to-UNC-fold... Sent from the XWiki- Dev mailing list archive at Nabble.com.
participants (2)
-
Arnaud bourree -
Hamster