File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7979 ' vine' ,
8080 ' timeproxy' ,
8181 ' tainted-null-random' ,
82- ' issue-588'
82+ ' issue-588' ,
83+ ' customrequest-validate'
8384 ].sort ();
8485 </script >
8586
Original file line number Diff line number Diff line change 22 import { zod } from ' $lib/adapters/zod.js' ;
33 import { superForm } from ' $lib/index.js' ;
44 import SuperDebug from ' $lib/index.js' ;
5+ import { SvelteURLSearchParams } from ' svelte/reactivity' ;
56 import type { PageData } from ' ./$types.js' ;
67 import { schema } from ' ./schema.js' ;
78
1213 validators: zod (schema ),
1314 onSubmit({ customRequest }) {
1415 return customRequest (async (input ) => {
15- const formEntriesUrlEncoded = new URLSearchParams ();
16+ const formEntriesUrlEncoded = new SvelteURLSearchParams ();
1617 for (const [key, value] of input .formData .entries ()) {
1718 if (typeof value === ' string' ) {
1819 formEntriesUrlEncoded .append (key , value );
You can’t perform that action at this time.
0 commit comments