MobyDog
08/02/2024, 4:05 PMSystem.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str, Boolean onlyCheckExtras)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Web.InternalSecurityPermissions.PathDiscovery(String path)
at System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath)
at ImageProcessor.Web.HttpModules.ImageProcessingModule.<ProcessImageAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
----trimming----
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
While typing this message this afternoon I actually got 2 like this :
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 558 : The request /media/ykmlwb44/4-outlet-130l-red-low-res.jpg?fbclid=IwZXh0bgNhZW0CMTEAAR3fQ0xZ6tLYX6DrAtZbk4-zEUELr0Ukz3Ynt_XTvNmFkJZda55U0ZIbZ0Q_aem_9_jcDQogLzo7hF1E_uButQ could not be understood by the server due to malformed syntax.
I'm wondering if it's just someone spamming ImageProcessor along the lines of this: https://dev.to/skttl/stop-spammers-from-abusing-imageprocessor-to-flood-your-umbraco-8-logs-2c5m and if I'm safe enough to just filter them out of the logs. The site seems fine.huwred
08/02/2024, 4:45 PMJason
08/07/2024, 11:29 AMMobyDog
08/07/2024, 12:56 PMSystem.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str, Boolean onlyCheckExtras)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Web.InternalSecurityPermissions.PathDiscovery(String path)
at System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath)
at ImageProcessor.Web.HttpModules.ImageProcessingModule.<ProcessImageAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Jason
08/07/2024, 1:01 PM/media/ykmlwb44/4-outlet-130l-red-low-res.jpg
work?Jason
08/07/2024, 1:01 PMrasmusjp
08/07/2024, 1:12 PMfbclid
so it throws an exception. The parameter sound like something from Facebook so I’d add a rewrite rule removing it as Jason suggestsMobyDog
08/07/2024, 1:27 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by