Skip to content

Commit

Permalink
fix #120
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Feb 6, 2024
1 parent ca57aba commit c7ba286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/OWSHttpRequest.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ OWSHttpRequest <- R6Class("OWSHttpRequest",
req <- url
if(nzchar(params)){
if(!endsWith(url,"?")){
if(regexpr("\\?", url)>0){
if(regexpr("\\?", url)>0 & regexpr("/cas?service=", url, fixed = T)<0){
req <- paste0(req, "&")
}else{
req <- paste0(req, "?")
Expand Down

0 comments on commit c7ba286

Please sign in to comment.