mbien commented on issue #7224: URL: https://github.com/apache/netbeans/issues/7224#issuecomment-2033051200
depends what you mean by "redirect", if it is to actually change the url of the browser (e.g https://www.mbien.dev to https://mbien.dev which is a 301 redirect) then i would say lets not do that. The webserver should be able to serve both URLs (with and without slash) since both are valid URLs which point to the same page. Spec wise, slashless is more correct IMO. But slash looks nicer that is why some use it while sharing links to pages but the pages itself often don't use them (see github or wikipedia and hover over links). Also by trying to fix urls within NB it is easy to add double slashes by mistake when the links is programmatically concatenated which would actually break the url (IMO webservers should filter out double slashes since it is a common attack vector, try https://mbien.dev//, the nb website doesn't do that atm, the layout breaks). so IMO, lets make sure the webserver can serve both links: - https://netbeans.apache.org/download - https://netbeans.apache.org/download/ if somehow possible without changing the URL in the browser, and lets not change anything regarding slashes in NB for now. (sure we can remove /index.html to make it look cleaner) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
