Commit 9b72b5c
committed
fix(mcp): validate json headers, add domain check, fix empty api key header
1 parent e41fbcc commit 9b72b5c
File tree
2 files changed
+36
-5
lines changed- apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/settings-modal/components
- mcp
- workflow-mcp-servers
2 files changed
+36
-5
lines changedLines changed: 34 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
685 | 692 | | |
686 | 693 | | |
687 | 694 | | |
| |||
690 | 697 | | |
691 | 698 | | |
692 | 699 | | |
693 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
694 | 708 | | |
695 | 709 | | |
696 | 710 | | |
| |||
718 | 732 | | |
719 | 733 | | |
720 | 734 | | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
721 | 740 | | |
722 | 741 | | |
723 | 742 | | |
| |||
758 | 777 | | |
759 | 778 | | |
760 | 779 | | |
761 | | - | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
762 | 789 | | |
763 | 790 | | |
764 | 791 | | |
| |||
1620 | 1647 | | |
1621 | 1648 | | |
1622 | 1649 | | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1623 | 1654 | | |
1624 | 1655 | | |
1625 | 1656 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
0 commit comments