It is true that in another car, but the water was flying from the same place (it appeared near the pedals), the unsealed windshield was to blame. Water trickled under the glass and was coming out near the pedals.
To check if it is the fault of the windshield: check what the sticker with the VIN number at the bottom of the windshield looks like (if it is corrugated, it probably catches a lot of moisture, which may confirm the leakage), further actions include dismantling the wipers and the plastic under them, so that the glass-sheet connection is visible (car frame), pour water and dishwashing liquid over this connection, and then treat it with air from the compressor under high pressure. If there are bubbles or water inside, your windshield is unsealed.
Solution: cutting and pasting the glass again (in some cars you need to install a new glass) or sealing the connection with, for example, silicone (only you need to clean and dry it well), but it is rather a "superficial" solution and only in situations of slight unsealing