Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix Regexp for parsing minisite_session, could break IE & FF download…
Browse files Browse the repository at this point in the history
…s for password protected links
  • Loading branch information
cdujeu committed Dec 10, 2014
1 parent 6667a9e commit 8310ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/access.fs/fsActions.xml
Expand Up @@ -226,7 +226,7 @@
downloadUrl = userSelection.updateFormOrUrl(null,downloadUrl);
document.location.href=downloadUrl;
}else{
var regex = new RegExp('.*?[&\\?]' + 'minisite_session' + '=(.*?)&.*');
var regex = new RegExp('.*?[&\\?]' + 'minisite_session' + '=(.*?)&?.*?');
val = window.ajxpServerAccessPath.replace(regex, "$1");
var minisite_session = ( val == window.ajxpServerAccessPath ? false : val );
Expand Down

0 comments on commit 8310ba4

Please sign in to comment.