[
https://issues.apache.org/jira/browse/JSPWIKI-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arturo Bernal resolved JSPWIKI-630.
-----------------------------------
Resolution: Cannot Reproduce
I checked the function that makes a page name readable,
TextUtil.beautifyString, on the current master. Sandy's Bar gives Sandy's Bar,
O'Brien gives O'Brien, and Sandy'sBar gives Sandy's Bar, so the apostrophe is
kept and no extra space or capital letter appears. This is the function that
adds the spaces to the title of a page, so the title Sandy S Bar described here
no longer comes from it. I did not run the whole page view in a browser, only
this function, so a different cause in the display path is not excluded. I am
closing it as Cannot Reproduce; please reopen it if someone can still see the
wrong title on a current version.
> mime type wrong for inverted comma in page name
> -----------------------------------------------
>
> Key: JSPWIKI-630
> URL: https://issues.apache.org/jira/browse/JSPWIKI-630
> Project: JSPWiki
> Issue Type: Bug
> Components: Core & storage
> Affects Versions: 2.8.3
> Environment: try on http://sandbox.jspwiki.org
> Reporter: Franz Schwab
> Priority: Major
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> If the name of a wiki page contains an inverted comma, the mime type is not
> treated correctly. Try the following:
> * Go to http://sandbox.jspwiki.org
> * Edit a page and type for example [Sandy's Bar]
> * Create the new page
> You will see the incorrect title "Sandy S Bar".
> This is not the correct UTF-8 mime recognition.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)