• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision3fc34aec18dccb1d7e4d96b10c3e2959d7b43a77 (tree)
Zeit2010-02-26 04:05:30
AutorToby Elliott <telliott@mozi...>
CommiterToby Elliott

Log Message

we definitely need to prevent a / from appearing in ids

Ändern Zusammenfassung

Diff

diff -r 822d94e77639 -r 3fc34aec18dc 1.0/weave_basic_object.php
--- a/1.0/weave_basic_object.php Tue Feb 23 16:43:04 2010 -0800
+++ b/1.0/weave_basic_object.php Thu Feb 25 11:05:30 2010 -0800
@@ -193,7 +193,7 @@
193193 function validate()
194194 {
195195
196- if (!$this->id() || mb_strlen($this->id(), '8bit') > 64)
196+ if (!$this->id() || mb_strlen($this->id(), '8bit') > 64 || strpos($this->id(), '/') !== false)
197197 { $this->_error[] = "invalid id"; }
198198
199199 if ($this->parentid_exists() && mb_strlen($this->parentid(), '8bit') > 64)