parsav  Diff

Differences From Artifact [5d2607bf9b]:

To Artifact [38909346ca]:


   730    730   						if not msg then msg = 'user record updated' end
   731    731   					end
   732    732   				end
   733    733   			elseif path.ct == 2 and meth == method.post then
   734    734   				var act = co:ppostv('act')
   735    735   				if act:cmp('create') then
   736    736   					var newname = co:ppostv('handle')
   737         -					if not newname or not lib.store.actor.handle_validate(newname.ptr) then
          737  +					if (not newname) or (not lib.store.actor.handle_validate(newname)) then
   738    738   						co:complain(400,'invalid handle','the handle you have requested is not valid')
          739  +						return
   739    740   					end
   740    741   					var tu = co.srv:actor_fetch_xid(newname)
   741    742   					if tu:ref() then tu:free()
   742    743   						co:complain(409,'handle clash','that handle conflicts with one that already exists')
   743    744   						return
   744    745   					end
   745    746   					var kbuf: uint8[lib.crypt.const.maxdersz]