Skip to content

Commit 0f644b0

Browse files
committed
fix options
1 parent 8e0504e commit 0f644b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cls/ZPM/Registry.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
5454

5555
ClassMethod OnPreDispatch(pUrl As %String, pMethod As %String, ByRef pContinue As %Boolean) As %Status
5656
{
57-
If ($$$lcase(pMethod)="options"),(1=$MATCH(pUrl,"^/packages/[^/]+/[^/]+/?$")) {
57+
If ($$$lcase(pMethod)="options"),(1=$MATCH(pUrl,"^/packages/[^/]+/[^/]+/?$")),$PIECE(pUrl,"/",3)'="-" {
5858
Set pContinue = 0
5959
Return ..OptionsPackageVersion($PIECE(pUrl,"/",3),$PIECE(pUrl,"/",4))
6060
}

0 commit comments

Comments
 (0)