Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 53eea55

Browse files
committed
[Bug 20330] Do not allow stack names to contain quotes
1 parent 46c23ea commit 53eea55

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Toolset/libraries/revidelibrary.8.livecodescript

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5250,6 +5250,12 @@ on revIDEPropertySet pObjectList, pProperty, pValue, pLockUpdates
52505250
set the name of tStack to tOldName
52515251
exit revIDEPropertySet
52525252
end if
5253+
if pValue contains quote then
5254+
beep
5255+
answer error revIDELocalise("The name of the stack cannot include quotes")
5256+
set the name of tStack to tOldName
5257+
exit revIDEPropertySet
5258+
end if
52535259
put pValue into tStackName
52545260
else
52555261
put the short name of tStack into tStackName

0 commit comments

Comments
 (0)