René's URL Explorer Experiment


Title: ng-attr-* entry in `$attrs` has incorrect casing · Issue #16624 · angular/angular.js · GitHub

Open Graph Title: ng-attr-* entry in `$attrs` has incorrect casing · Issue #16624 · angular/angular.js

X Title: ng-attr-* entry in `$attrs` has incorrect casing · Issue #16624 · angular/angular.js

Description: I'm submitting a ... bug report Current behavior: The entries in $attrs created by ng-attr-* have the incorrect camel casing when the attribute has mixed case. Details Normally the keys in $attrs get normalized by directiveNormalize(name...

Open Graph Description: I'm submitting a ... bug report Current behavior: The entries in $attrs created by ng-attr-* have the incorrect camel casing when the attribute has mixed case. Details Normally the keys in $attrs g...

X Description: I'm submitting a ... bug report Current behavior: The entries in $attrs created by ng-attr-* have the incorrect camel casing when the attribute has mixed case. Details Normally the keys in $att...

Opengraph URL: https://github.com/angular/angular.js/issues/16624

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng-attr-* entry in `$attrs`  has incorrect casing","articleBody":"**I'm submitting a ...**\r\n- [X] bug report\r\n\r\n**Current behavior:**\r\nThe entries in `$attrs` created by `ng-attr-*` have the incorrect camel casing when the attribute has mixed case.\r\n\r\n**Details**\r\nNormally the keys in `$attrs` get normalized by `directiveNormalize(name.toLowerCase())`: https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2274\r\n\r\nBut for `ng-attr-*` the name gets [partially normalized](https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2261-L2264) by the `ng-attr-*` logic before being [normalized again](https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2274) in the standard way. I think this has existed since [mixed case attributes](https://github.com/angular/angular.js/commit/d8e37078600089839f82f0e84022f1087e1fd3f2#diff-a732922b631efed1b9f33a24082ae0dbR1423) were supported.\r\n\r\nThis causes things like `ng-attr-my-camel_prop=\"...\"` to be `$attrs.myCamelprop` instead of `$attrs.myCamelProp`. Where `my-camel_prop=\"...\"` would be `$attrs.myCamelProp`.\r\n\r\nNote that the actual attribute put onto the element is correct, it's only the entry in `$attrs` and `$attrs.$attr` that have the incorrect casing. For example `ng-attr-my-camel_case` correctly maps to the `my-camelCase` attribute, its just the key in `$attrs.myCamelcase` and `$attrs.$attr.myCamelcase` that are wrong.\r\n\r\n**Expected / new behavior:**\r\nConsistent attribute name normalizing between `ng-attr-*` and normal attributes.\r\n\r\n**Anything else:**\r\nI wonder if `$attrs.$set` has any issues? https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L1762-L1765","author":{"url":"https://github.com/jbedard","@type":"Person","name":"jbedard"},"datePublished":"2018-07-06T03:22:21Z","url":"https://github.com/angular/angular.js/issues/16624"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:556e5a05-28f3-e9fa-666f-f265e0873074
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFBC:AB571:2BD295:3F7284:6AFD7AC5
html-safe-nonce88157497780cc36f9b6e961244bc372fe6b9ff25e81a5cb8be8a2889c1b85e10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkJDOkFCNTcxOjJCRDI5NTozRjcyODQ6NkFGRDdBQzUiLCJ2aXNpdG9yX2lkIjoiNzU0NDUzMTQ4ODAwMDAxNTA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4df0b7fea9d20949fb929ee365a1a75ed74bcb2315af01c224351e89f7d355fd
hovercard-subject-tagissue:338792237
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular.js/16624/issue_layout
twitter:imagehttps://opengraph.githubassets.com/491aed04a80bf779a3a6f8ae6264232571426c96ccd47e88f648a0ea5b1476fc/angular/angular.js/issues/16624
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/491aed04a80bf779a3a6f8ae6264232571426c96ccd47e88f648a0ea5b1476fc/angular/angular.js/issues/16624
og:image:altI'm submitting a ... bug report Current behavior: The entries in $attrs created by ng-attr-* have the incorrect camel casing when the attribute has mixed case. Details Normally the keys in $attrs g...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejbedard
hostnamegithub.com
expected-hostnamegithub.com
None544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e
turbo-cache-controlno-preview
go-importgithub.com/angular/angular.js git https://github.com/angular/angular.js.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id460078
octolytics-dimension-repository_nwoangular/angular.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id460078
octolytics-dimension-repository_network_root_nwoangular/angular.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular.js/issues/16624#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular.js%2Fissues%2F16624
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular.js%2Fissues%2F16624
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular.js
Reloadhttps://github.com/angular/angular.js/issues/16624
Reloadhttps://github.com/angular/angular.js/issues/16624
Reloadhttps://github.com/angular/angular.js/issues/16624
angularhttps://github.com/angular
angular.jshttps://github.com/angular/angular.js
Codehttps://github.com/angular/angular.js
Issues389 (389)https://github.com/angular/angular.js/issues
Pull requests72 (72)https://github.com/angular/angular.js/pulls
Actionshttps://github.com/angular/angular.js/actions
Projectshttps://github.com/angular/angular.js/projects
Wikihttps://github.com/angular/angular.js/wiki
Security and qualityhttps://github.com/angular/angular.js/security
Insightshttps://github.com/angular/angular.js/insights
https://github.com/angular/angular.js
ng-attr-* entry in $attrs has incorrect casinghttps://github.com/angular/angular.js/issues/16624#top
component: $compilehttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24compile%22
frequency: lowhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22frequency%3A%20low%22
1.8.x - won't fixhttps://github.com/angular/angular.js/milestone/145
https://github.com/jbedard
jbedardhttps://github.com/jbedard
on Jul 6, 2018https://github.com/angular/angular.js/issues/16624#issue-338792237
https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2274https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2274
partially normalizedhttps://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2261-L2264
normalized againhttps://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L2274
mixed case attributeshttps://github.com/angular/angular.js/commit/d8e37078600089839f82f0e84022f1087e1fd3f2#diff-a732922b631efed1b9f33a24082ae0dbR1423
https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L1762-L1765https://github.com/angular/angular.js/blob/v1.7.2/src/ng/compile.js#L1762-L1765
jbedardhttps://github.com/jbedard
component: $compilehttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24compile%22
frequency: lowhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22frequency%3A%20low%22
on Jul 6, 2018https://github.com/angular/angular.js/issues/16624#event-1719413826
petebacondarwinhttps://github.com/petebacondarwin
1.7.x - won't fixhttps://github.com/angular/angular.js/milestone/145
on Sep 26, 2018https://github.com/angular/angular.js/issues/16624#event-1869245270
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular.js/issues/16624
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular.js/issues/16624
component: $compilehttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24compile%22
frequency: lowhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22frequency%3A%20low%22
1.8.x - won't fixNo due datehttps://github.com/angular/angular.js/milestone/145
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.