Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19695

Enabling non automatic conversion of siteaccess names

    Details

      Description

      This enhancement request arose in the sequence of issues #14156 and #19309

      Currently eZ Publish automatically (and silently) converts non alphabetic characters, found when parsing for siteaccess names, into underscore characters. This behavior cannot be overridden and has proved useful for most use cases over the years.
      Nevertheless, there are some use cases where this handling is not desired.

      For instance, when your site's contents are widely referred in external sources, and the maintenance of these external links are handled by manual input, then you might not wish to allow some referrals to link to your siteaccess as "site-eng", while others name it as "site:eng" and others, still, have ":site+eng!".
      If you allow this, then you might get penalized in relevance counters of your content by indexing services such as google.

      Easy to implement, and with no impact on the current usability of eZ Publish, would be too add a ini setting where users could specify they don't wish to have this automatic character replacing active.

      An extend enhancement would be to allow the character replacing to occur, but to return HTTP status 301 everytime such operation takes place.

        Activity

        Hide
        Gaetano Giunta (Inactive) added a comment -

        I vote +1 for returning a 301 by default. It is a small BC, but it would still keep all sites working (only things which might break is automation scripts where the client is so dumb that it does nto follow redirects)

        Show
        Gaetano Giunta (Inactive) added a comment - I vote +1 for returning a 301 by default. It is a small BC, but it would still keep all sites working (only things which might break is automation scripts where the client is so dumb that it does nto follow redirects)
        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/969045dc46aee305a125e067779f1f0774f8c31e
        Hide
        Joao Pingo (Inactive) added a comment -

        QA Approved

        Show
        Joao Pingo (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            J. J. Cavalleri
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 7 hours
              7h