#Filepath
🧩 #𝑓𝑖𝑙𝑒 𝑣𝑠 #𝑓𝑖𝑙𝑒𝑃𝑎𝑡ℎ 𝑖𝑛 𝑆𝑤𝑖𝑓𝑡 𝑇𝑒𝑠𝑡𝑠 - 𝐶𝑙𝑒𝑎𝑛𝑒𝑟, 𝐶𝑎𝑐ℎ𝑒𝑎𝑏𝑙𝑒 𝐵𝑢𝑖𝑙𝑑𝑠 by Sagar Unagar

Absolute source paths can sneak into our test binaries through helper defaults.

#iOSDev #Testing

www.sagarunagar.com/blog/swift-f...
#file vs #filePath in Swift Tests - Cleaner, Cacheable Builds
Absolute source paths can sneak into our test binaries through helper defaults. For messages that only need a file identifier, `#fileID` avoids tying those strings to a particular checkout and may help shared build caches—though other sources of path variation still matter. Keep `#filePath` where a real path is needed, including XCTest failure forwarding and source-relative fixtures; Swift Testing has `SourceLocation` for its own helpers. One detail worth remembering: `#file` is concise by default in Swift 6 language mode, not necessarily Swift 5.
www.sagarunagar.com
November 26, 2026 at 5:07 PM
realized the jumpscare audio remover I was using for alan wake 2 didn't actually work because I installed it in the wrong filepath. whoops. teehee
November 23, 2026 at 10:18 PM
🚀 𝑆𝑐𝑟𝑜𝑙𝑙-𝑑𝑟𝑖𝑣𝑒𝑛 𝑒𝑓𝑓𝑒𝑐𝑡𝑠 𝑖𝑛 𝑆𝑤𝑖𝑓𝑡𝑈𝐼: 𝑝ℎ𝑎𝑠𝑒𝑠, 𝑔𝑒𝑜𝑚𝑒𝑡𝑟𝑦 𝑎𝑛𝑑 𝑠𝑐𝑟𝑜𝑙𝑙 𝑠𝑡𝑎𝑡𝑒
🧩 #𝑓𝑖𝑙𝑒 𝑣𝑠 #𝑓𝑖𝑙𝑒𝑃𝑎𝑡ℎ 𝑖𝑛 𝑆𝑤𝑖𝑓𝑡 𝑇𝑒𝑠𝑡𝑠 - 𝐶𝑙𝑒𝑎𝑛𝑒𝑟, 𝐶𝑎𝑐ℎ𝑒𝑎𝑏𝑙𝑒 𝐵𝑢𝑖𝑙𝑑𝑠

#Swift #iOSDev

ios-newsletter.snappmobile.io/issues/2026-...
November 20, 2026 at 3:15 PM
🚨 EUVD-2026-132867
📊 6.3/10
🏢 donetick

📝 Donetick before 0.1.86 contains a path traversal vulnerability in the GET /api/v1/assets/*filepath route that allows unauthenticated attackers to bypas...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-132867

#cybersecurity #infosec #cve #euvd
November 22, 2026 at 11:00 PM
*accidentally posts the filepath to my 8 TB porn collection*

jk . . . i didn't accidentally post shit.
November 19, 2026 at 1:14 AM
CVE-2026-129986 - Dokploy: OS Command Injection via filePath in mount.deleteFileMount → HOST RCE
CVE ID : CVE-2026-129986

Published : Nov. 18, 2026, 10:24 p.m. | 18 minutes ago

Description : Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, ...
CVE-2026-129986 - Dokploy: OS Command Injection via filePath in mount.deleteFileMount → HOST RCE
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, mount.deleteFileMount passes a path containing the user-controlled filePath to the local removeFileOrDirectory helper, which interpolates it unquoted into rm -rf, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute …
cvefeed.io
November 18, 2026 at 11:22 PM
The following article covers the differences between the file and filePath macros when unit testing Swift code :

www.sagarunagar.com/blog/swift-f…

#swifttesting #swiftlang
#file vs #filePath in Swift Tests - Cleaner, Cacheable Builds
Learn when to use #file, #fileID, and #filePath in Swift tests. Keep absolute paths out of your build artifacts and get more cache hits on CI.
www.sagarunagar.com
November 17, 2026 at 5:17 PM
copyFile deletes the target on CIFS shares
On network shares, a failure in `System.Directory.OsPath.renamePath` can lead to data loss. I use the following workflow to update a file that resides on a CIFS share (under Linux) import System.Directory (copyFile, getTemporaryDirectory) import System.FilePath ((</>),takeFileName) import Codec.SomeData (obtainBinaryContentsOf,writeModificationsTo) -- ^ fantasy names, reading and writing ByteStreams original :: FilePath -- mounted with mount.cifs do tmp <- getTemporaryDirectory let tmpfile = tmp </> takeFileName original x <- obtainBinaryContentsOf original let y = someModifications x writeModificationsTo tmpfile y copyFile tmpfile original The file server (Windows) tries to make sure only one process has write access to `original`. If another process tries to write the file that is already open, it will fail. All this is expected. The strange thing is **how** `copyFile` fails: /mnt/myshare/.copyFile1952910-1.tmp: copyFile:atomicCopyFileContents:withReplacementFile:renameFile:renamePath:rename: does not exist (No such file or directory) After this, on the CIFS share, no trace of either the `original` file nor the mentioned temporary file can be found. Just gone. Thus at least in the CIFS situation, the promise of `withReplacementFile` is not true: -- If an error occurs during any step of this process, -- the temporary file is removed and the destination file remains untouched. Even worse, in some cases even `tmpfile` vanishes, leading to data loss. If `original` resides on a local ext4 file system, `copyFile` happily overwrites the file despite other processes accessing it. Question 1: Should I file a bug report in the `https://github.com/haskell/directory` project or do you think the file server is the culprit? Question 2: Could an appropriate use of `bracket` help prevent the data loss?
discourse.haskell.org
November 18, 2026 at 12:02 PM
Moving v3 PSADT packages to v4? Run the report before the converter.

Test-ADTCompatibility lists what changed. Convert-ADTDeployment ports the Install/Uninstall/Repair blocks; custom functions and code outside them stay put.

Convert now, or park them in v3 compat mode?

#PSADT #Intune
November 16, 2026 at 7:14 AM
on my last PC, one day firefox just Broke. it refused to boot up whatsoever. I reinstalled it a few times, made sure to scrub the computer clean of any possibly filepath that might be causing a ruckus, and nothing. eventually i gave up and started using a fork, waterfox

on this current PC,
November 15, 2026 at 1:25 PM
No matter what I did, if I unchecked the option to replace the wind-up succubus, the succubus would appear with caine textures. I shuffled materials, copied and renamed textures to free the original texture- nothing worked. Finally I unlinked one filepath I hadn't noticed and problem solved. 😵
November 15, 2026 at 8:09 AM
NameError error when adding scripts to processing toolbox with PyQGIS 3
When I add a script (any script) to QGIS 3.x I get the following Python error: NameError: name 'Uitvoermap' is not defined Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\script\ScriptAlgorithmProvider.py", line 111, in loadAlgorithms alg = ScriptUtils.loadAlgorithm(moduleName, filePath) File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\script\ScriptUtils.py", line 68, in loadAlgorithm spec.loader.exec_module(module) File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Users\michi\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\scripts\garmin.py", line 6, in Uitvoermap += "\\" NameError: name 'Uitvoermap' is not defined Python versie: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] QGIS versie: 3.4.4-Madeira Madeira, f6ddc62fdb Python pad: C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python C:/Users/michi/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/michi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins C:\Program Files\QGIS 3.4\bin\python37.zip C:\PROGRA~1\QGIS3~1.4\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib C:\Program Files\QGIS 3.4\bin C:\PROGRA~1\QGIS3~1.4\apps\Python37 C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\Pythonwin C:/Users/michi/AppData/Roaming/QGIS/QGIS3\profiles\default/python The script works for others. I tried other proven scripts with the same result.
gis.stackexchange.com
November 12, 2026 at 1:12 PM
VulnCheck's entry puts the affected range at 2.14.0 through 2.46.3, so 2.46.5 stable already sits outside it. No need to wait for 2.47. Until the upgrade, keep webhook, form or chat input out of the Databricks node's spaceId, indexName and filePath fields.
November 8, 2026 at 12:58 PM
wtf modern ide's that hate whitespace in the filepath

extra points taken off for default installing into a directory that is likely to have whitespace in it's path and not giving an easy and obvious way to change that directory
November 3, 2026 at 4:51 PM
Thanks for the purchase Chas, much appreciated! Yeah this is a windows file name character limit issue if you unzip this folder to a particularly deep filepath. With nested .obj models the submeshes have their parent's name included, I will have to manually rename some of them in the next update
October 31, 2026 at 7:46 AM
Select files in FileMaker
How to get the filepath of any file without a plugin.

fmstarter.com/select-files...
Select files in FileMaker - FM Starter
How to get the filepath of any file without a plugin
fmstarter.com
October 24, 2026 at 12:08 PM
🔌 Built-in Language Server (laravel-fmt lsp) for format on save and format selection, plus --stdin-filepath for editors that only pipe a buffer
October 23, 2026 at 8:11 AM
A number of pages on my website's subdomain aren't linked on any other pages, and can only be found by either guessing the filepath or finding one of the direct links I've posted elsewhere on the internet.
October 20, 2026 at 11:28 AM
Yes, on purpose. Since swift-foundation PR #1718, URL(filePath:) no longer expands "~user": "~foo/bar/" is relative to the working directory, so from your home folder you get ~/~foo/bar/. I built 6.4 on a Mac and saw it. FileManager.default.homeDirectory(forUser: "foo") still works.
October 14, 2026 at 3:54 PM
I don't know who needs to hear this, but if you press control c after selecting a zip file on a Mac, it copies the file path. Go to applications, utilities, open terminal, type unzip -l /then/you/paste/the/filepath, when you hit enter it will list the content of the zip file without unzipping it.
October 14, 2026 at 3:20 PM
CVE-2026-110640 - whisper-node
The whisper-node library (versions up to 1.1.1) can be tricked into running any command the Node.js process can execute if an attacker controls the filePath or language…

Too many irrelevant or confusing CVEs? Use stackflag.com

#whispernode #ariym #CVE #infosec
CVE-2026-110640: whisper-node up to 1.1.1 lets attackers run commands
The whisper-node library (versions up to 1.1.1) can be tricked into running any command the Node.js process can execute if an attacker controls the.
stackflag.com
October 14, 2026 at 4:40 PM
Hmmm... did #swiftlang or #macos URL(filePath:) change?

A program that used this code

let someURL = URL(filePath: “~foo/bar/”)

used to give the a url “file://Users/foo/bar/“. Now it given me a url to my home folder. It looks like “~foo” is being treated as “~”.

I'm sure this worked. A binary […]
Original post on sfba.social
sfba.social
October 13, 2026 at 8:08 PM
CVE-2026-108791 - westboy CicadasCMS Template Management input TemplateController.input path traversal
CVE ID : CVE-2026-108791

Published : Oct. 12, 2026, 2:45 a.m. | 38 minutes ago

Description : A weakness has been identified in westboy CicadasCMS up to 2431154dac8d0735...
CVE-2026-108791 - westboy CicadasCMS Template Management input TemplateController.input path traversal
A weakness has been identified in westboy CicadasCMS up to 2431154dac8d0735e04f1fd2a3c3556668fc8dab. Affected is the function TemplateController.input of the file /system/cms/template/input of the component Template Management. This manipulation of the argument filePath causes path traversal. It is possible to initiate the attack remotely. The exploit has been made available to the …
cvefeed.io
October 12, 2026 at 3:44 AM