cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Schauerte (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12206) Builds fails if app name contains preserved XML characters like &<>
Date Thu, 01 Dec 2016 20:01:58 GMT
Felix Schauerte created CB-12206:
------------------------------------

             Summary: Builds fails if app name contains preserved XML characters like &<>
                 Key: CB-12206
                 URL: https://issues.apache.org/jira/browse/CB-12206
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.3.0
         Environment: ios, xcode8.1, nodejs 6.9.1
            Reporter: Felix Schauerte


*How to reproduce*

- Create new cordova app with name "You&Me"
- add platform ios
- start release build

*Effect*

The build fails due to corrupted xml files at platforms/ios/<APPNAME>.xcworkspace/**

*How to fix*

The app name seems to be inserted with illegal escaping:
Wrong: <FileRef location = "group:You\&Me.xcodeproj">
Correct: <FileRef location = "group:You&amp;amp;Me.xcodeproj">

I guess shell escaping (\) is used instead of proper xml quoting (entity) for attributes.

Fix should be trivial as in prior versions of cordova-ios this worked well.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message