Convert slash to %2F when query
This commit is contained in:
parent
940d23a3d9
commit
cb761ad598
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ does_it_exist() {
|
||||||
repo=$4
|
repo=$4
|
||||||
|
|
||||||
query="$repo/$name: upgrade to $upstream_version"
|
query="$repo/$name: upgrade to $upstream_version"
|
||||||
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g')"
|
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )"
|
||||||
|
|
||||||
result="$(curl --silent -X 'GET' \
|
result="$(curl --silent -X 'GET' \
|
||||||
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/issues?state=open&q=$query&type=issues" \
|
||||||
|
|
Loading…
Reference in a new issue