Skip to content

Commit

Permalink
Fix hyphen quoting issue in Get-ConfluencePage (AtlassianPS#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlassianPS Automated User committed Sep 25, 2020
1 parent 2aa759a commit a972828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConfluencePS/Public/Get-Page.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function Get-Page {
"byLabel" {
$iwParameters["Uri"] = $resourceApi -f "/search"

$CQLparameters = @("type=page", "label=$Label")
$CQLparameters = @("type=page", "label=`"$Label`"")
if ($SpaceKey) {$CQLparameters += "space=$SpaceKey"}
$cqlQuery = ConvertTo-URLEncoded ($CQLparameters -join (" AND "))

Expand Down

0 comments on commit a972828

Please sign in to comment.