Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.iemr.common</groupId>
<artifactId>bengen-api</artifactId>
<version>3.1.0</version>
<version>3.4.0</version>
<packaging>war</packaging>

<name>BeneficiaryID-Generation-API</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@
return false;

userAgent = userAgent.toLowerCase();
logger.info("Curent User-Agent: " + userAgent);

Check warning on line 156 in src/main/java/com/iemr/common/bengen/utils/JwtUserIdValidationFilter.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_BeneficiaryID-Generation-API&issues=AZrj3F6LHRTMSvAtZ7sM&open=AZrj3F6LHRTMSvAtZ7sM&pullRequest=56

Check warning on line 156 in src/main/java/com/iemr/common/bengen/utils/JwtUserIdValidationFilter.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=PSMRI_BeneficiaryID-Generation-API&issues=AZrj3F6LHRTMSvAtZ7sL&open=AZrj3F6LHRTMSvAtZ7sL&pullRequest=56
return userAgent.contains("okhttp") || userAgent.contains("java/"); // iOS (custom clients)

return userAgent.contains("okhttp"); // iOS (custom clients)
// return userAgent.contains("okhttp"); // iOS (custom clients)
}

private String getJwtTokenFromCookies(HttpServletRequest request) {
Expand Down
Loading