Skip to content

Commit

Permalink
Incorporada la corrección del issue #6
Browse files Browse the repository at this point in the history
Se incorpora la corrección del issue #6 corregida por el commit 5d2b5a0
  • Loading branch information
enekoza committed Feb 28, 2017
1 parent e22e25e commit 8d43dda
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion x38ShLibClasses/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/lib/**
/bin/**
/target/**
/target/**
.svn
2 changes: 1 addition & 1 deletion x38ShLibClasses/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<property name="srcDir" value="./src"/>
<property name="destDir" value="./target"/>
<property name="buildDir" value="./bin"/>
<property name="version" value="2.4.2-RELEASE"/>
<property name="version" value="2.4.2.2-RELEASE"/>

<target name="mavenRunDependencies" description="Resuelve las dependencias del proyecto desde Maven">
<echo>${ant.home}</echo>
Expand Down
2 changes: 1 addition & 1 deletion x38ShLibClasses/src/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Manifest-Version: 2.4.2.1
Manifest-Version: 2.4.2.2
Class-Path:
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import n38a.exe.N38APISesion;
import n38c.exe.N38API;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
Expand All @@ -41,6 +38,9 @@
import com.ejie.x38.util.StaticsContainer;
import com.ejie.x38.util.ThreadStorageManager;

import n38a.exe.N38APISesion;
import n38c.exe.N38API;

/**
*
* @author UDA
Expand Down Expand Up @@ -344,8 +344,9 @@ public String getURLLogin(String originalURL, boolean ajax) {
logger.debug("Original URLLogin is :"+originalURL);
StringBuilder resultURL = new StringBuilder(StaticsContainer.loginUrl);

if (originalURL != null && !"".equals(originalURL)){
resultURL.append("?N38API=");
if (originalURL != null && !"".equals(originalURL)) {
resultURL.append(resultURL.indexOf("?")!=-1?"&":"?");
resultURL.append("N38API=");
resultURL.append(originalURL);
}
logger.debug("URLLogin is: "+resultURL);
Expand Down

0 comments on commit 8d43dda

Please sign in to comment.