Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13040

Importing jstl causes that line breaks are used based on server system for part changed by transformations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 7.1.0.CR1
    • Undertow
    • None
    • Hide

      start server on Windows and deploy attached deployment.
      Go to http://localhost:8080/jstl-import/index.jsp and check line ends.

      Show
      start server on Windows and deploy attached deployment. Go to http://localhost:8080/jstl-import/index.jsp and check line ends.

      If I have deployment which was created on linux system and server is running on Windows, then deployment which uses jstl import and transformation will return content which has partially linux line ends (LF) and partially windows line ends (CRLF). On the other hand when the server is running on linux system, it will end with LF used everywhere.

      I believe user should be abstracted from where the server runs and always return the same line ends on parts generated via JSTL.

              rpelisse@redhat.com Romain Pelisse
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: