Opened 7 years ago
#5214 new defect
URI expansion misinterprets control characters
| Reported by: | Owned by: | Lennart Ochel | |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Code Generation | Version: | v1.13.0-dev-nightly |
| Keywords: | Cc: |
Description
I have a resource loaded with loadResources with the following syntax:
Modelica.Utilities.Files.loadResource("modelica://MyLibraryName/Resources/myfile.txt")
Suppose that my library is stored in C:\folder1\videoterminal\MyLibraryName
Once it gets expanded, the _init.xml file contains the following string
C:\folder1{\v}ideoterminal\MyLibraryName\Resources\myfile.txt
where {\v} is the control character \v. The normal path contains a \v in \videoterminal that is wrongly considered as a control character!
Note:
See TracTickets
for help on using tickets.
