You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "joerghoh (via GitHub)" <gi...@apache.org> on 2024/07/22 14:03:18 UTC
[PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
joerghoh opened a new pull request, #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43
(no comment)
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "joerghoh (via GitHub)" <gi...@apache.org>.
joerghoh commented on PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43#issuecomment-2246203961
@rombert the explicit lowercasing was there for quite some time, so I don't want to question or even change that right now.
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "rombert (via GitHub)" <gi...@apache.org>.
rombert commented on PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43#issuecomment-2247819511
> @rombert the explicit lowercasing was there for quite some time, so I don't want to question or even change that right now.
Do you mean that at some point we had the lowercasing and then removed it by accident?
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "joerghoh (via GitHub)" <gi...@apache.org>.
joerghoh commented on PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43#issuecomment-2249987287
> at some point
That respective code line ``String::toLowerCase`` line was added with a657c91e in October 2022 and was included the first time in xss 2.3.0, and remained unchanged since then.
(I added the Stream operation ``distinct`` to it, did not change the casing at all.)
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "joerghoh (via GitHub)" <gi...@apache.org>.
joerghoh merged PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43#issuecomment-2243116780
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-xss&pullRequest=43) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-xss&pullRequest=43&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-xss&pullRequest=43&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-xss&pullRequest=43&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [100.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-xss&pullRequest=43&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-xss&pullRequest=43&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-xss&pullRequest=43)
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12388 remove duplicate literals [sling-org-apache-sling-xss]
Posted by "rombert (via GitHub)" <gi...@apache.org>.
rombert commented on PR #43:
URL: https://github.com/apache/sling-org-apache-sling-xss/pull/43#issuecomment-2255322404
> > at some point
>
> That respective code line `String::toLowerCase` line was added with [a657c91](https://github.com/apache/sling-org-apache-sling-xss/commit/a657c91ef890aaddee92d92c10506b54e536b643) in October 2022 and was included the first time in xss 2.3.0, and remained unchanged since then.
>
> (I added the Stream operation `distinct` to it, did not change the casing at all.)
Ah, right. I was thinking about the changes that were introduced with the migration to the Java HTML Sanitiser. So we added the explicit lower-casing at that point, but I suspect that previously (in the AntiSamy days) we did lower-case attributes, so consumers were using both upper-case and lower-case attribute declarations.
I think though that your change makes sense, I would be suprised to see a real-life use case where `<ol type="a">` needs to be handled differently from `<ol type="A">`.
--
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: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org