René's URL Explorer Experiment


Title: LocationHtml5Url search() returns undefined if server rewrites base URL · Issue #11223 · angular/angular.js · GitHub

Open Graph Title: LocationHtml5Url search() returns undefined if server rewrites base URL · Issue #11223 · angular/angular.js

X Title: LocationHtml5Url search() returns undefined if server rewrites base URL · Issue #11223 · angular/angular.js

Description: Hi, I encountered a problem where if the server rewrites part of the baseHref, the LocationHtml5Url $location.search() will return undefined, instead of an empty object. For example, if I request: http://www.example.com/Username and the ...

Open Graph Description: Hi, I encountered a problem where if the server rewrites part of the baseHref, the LocationHtml5Url $location.search() will return undefined, instead of an empty object. For example, if I request: ...

X Description: Hi, I encountered a problem where if the server rewrites part of the baseHref, the LocationHtml5Url $location.search() will return undefined, instead of an empty object. For example, if I request: ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"LocationHtml5Url search() returns undefined if server rewrites base URL","articleBody":"Hi,\n\nI encountered a problem where if the server rewrites part of the baseHref, the LocationHtml5Url $location.search() will return undefined, instead of an empty object.\n\nFor example, if I request: `http://www.example.com/Username`\n\nand the server rewrites it as `http://www.example.com/username`\n\nwhen the LocationProvider.$get calls $$parseLinkUrl, it doesn't call $$parse like it normally would, which would call parseAppUrl and set locationObj.$$search.\n\nSince $$parseLinkUrl is comparing the rewritten appBase (`http://www.example.com/username`) against the requested initialUrl (`http://www.example.com/Username`), the beginsWith check fails and it doesn't follow the same code path as if the url hadn't been rewritten.\n\nI can't say I'm familiar enough with the code to suggest a fix, but it seems like parseAppUrl sets up important state for the $location service, and not calling it during instantiation causes problems.\n\nEDIT: forgot to mention, I encountered this running angular-1.3.6.js.\n","author":{"url":"https://github.com/akerfoot","@type":"Person","name":"akerfoot"},"datePublished":"2015-03-03T02:53:38Z","url":"https://github.com/angular/angular.js/issues/11223"}

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:4d6fe5d6-557a-5e6e-0e50-a8bbe52c1b15
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC1BE:C804D:42C2D2:5B569E:6AFE0FEB
html-safe-nonce86dd59b91d8b98c757168a8bbdeac75891e499776b3ff67ac0efc51c160d6f84
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUJFOkM4MDREOjQyQzJEMjo1QjU2OUU6NkFGRTBGRUIiLCJ2aXNpdG9yX2lkIjoiMjg0MTc5NDI2NzQzMTQ0MDM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac28c96a74eccb07ac83f9fdac2b87f34f17ea1ecc820875a5d924136bd12f26d6
hovercard-subject-tagissue:59587610
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/11223/issue_layout
twitter:imagehttps://opengraph.githubassets.com/afd0e14ddc449c47eb02dcd692bea77a5828f540ed93ee0736c13e68784ffa8a/angular/angular.js/issues/11223
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afd0e14ddc449c47eb02dcd692bea77a5828f540ed93ee0736c13e68784ffa8a/angular/angular.js/issues/11223
og:image:altHi, I encountered a problem where if the server rewrites part of the baseHref, the LocationHtml5Url $location.search() will return undefined, instead of an empty object. For example, if I request: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakerfoot
hostnamegithub.com
expected-hostnamegithub.com
None1fd4053be37b4bd545b4f38f1cecad058c343776acf2cbc6806316f26270e55e
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
release635a57b3d0df6bc21c0f39fc7078888fb90e4066
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular.js/issues/11223#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular.js%2Fissues%2F11223
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%2F11223
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/11223
Reloadhttps://github.com/angular/angular.js/issues/11223
Reloadhttps://github.com/angular/angular.js/issues/11223
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
LocationHtml5Url search() returns undefined if server rewrites base URLhttps://github.com/angular/angular.js/issues/11223#top
component: $locationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24location%22
needs: investigationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
resolution: won't fixhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22resolution%3A%20won't%20fix%22
Backlog - won't fixhttps://github.com/angular/angular.js/milestone/27
https://github.com/akerfoot
akerfoothttps://github.com/akerfoot
on Mar 3, 2015https://github.com/angular/angular.js/issues/11223#issue-59587610
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
needs: investigationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
component: $locationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24location%22
on Mar 4, 2015https://github.com/angular/angular.js/issues/11223#event-245964105
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Mar 4, 2015https://github.com/angular/angular.js/issues/11223#event-245964156
https://github.com/akerfoot
akerfoothttps://github.com/akerfoot
on Mar 10, 2015https://github.com/angular/angular.js/issues/11223#issuecomment-78032206
http://tools.ietf.org/html/rfc3986#section-6.2.2.1http://tools.ietf.org/html/rfc3986#section-6.2.2.1
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jan 3, 2017https://github.com/angular/angular.js/issues/11223#issuecomment-270094493
gkalpakhttps://github.com/gkalpak
completedhttps://github.com/angular/angular.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 3, 2017https://github.com/angular/angular.js/issues/11223#event-909656317
gkalpakhttps://github.com/gkalpak
resolution: won't fixhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22resolution%3A%20won't%20fix%22
on Jan 3, 2017https://github.com/angular/angular.js/issues/11223#event-909656462
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular.js/issues/11223
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular.js/issues/11223
component: $locationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22component%3A%20%24location%22
needs: investigationhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
resolution: won't fixhttps://github.com/angular/angular.js/issues?q=state%3Aopen%20label%3A%22resolution%3A%20won't%20fix%22
Backlog - won't fixNo due datehttps://github.com/angular/angular.js/milestone/27
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.