]> git.openstreetmap.org Git - potlatch2.git/blobdiff - net/systemeD/halcyon/connection/actions/SetTagAction.as
Prevent keys/values exceeding 255 characters
[potlatch2.git] / net / systemeD / halcyon / connection / actions / SetTagAction.as
index 625d039c98353437f2d665df5cce98f10de6f774..9e3680d82e663fdb52de954b5195e0962b8155ca 100644 (file)
@@ -11,7 +11,7 @@ package net.systemeD.halcyon.connection.actions {
         public function SetTagAction(entity:Entity, key:String, value:String) {
             super(entity, "Set "+key+"="+value);
             this.key = key;
-            this.value = value;
+            this.value = value.substr(0,255);
         }
 
         public override function doAction():uint {