Comments (9)
Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer?
Also, please provide a runnable test case on a platform like JS Bin.
from jquery-ui.
Sorry, I'm not a JavaScript dev. The function is depending on username + password being in the url, so a 1:1 example with any code plattform is unlikely to work.
The code in latest git seems to be the same. The culprit is that the anchor and location can have different values for the same URL.
from jquery-ui.
I understand but we cannot do much without a test case.
One thing you may be able to help with is saying whether jQuery UI 1.12.1 exhibits the same issue. You can find links to all releases on https://releases.jquery.com.
from jquery-ui.
Please check https://jsbin.com/rinenupiba/edit?html,js,output
I faked _isLocal with user+password in location:
locationUrl = location.href.replace("://", "://test:test@").replace( rhash, "" );
Rendering of the page will change if you revert that line.
from jquery-ui.
It's not clear to me what the JS Bin is supposed to show. Can you use the stock version of jQuery UI without repeating its source in the JS pane and explain exactly what you expect to happen in this test case and what is happening instead?
from jquery-ui.
BTW, the _isLocal
definition is identical between 1.12.1 & 1.13.2. Whatever the issue is, since it is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome if they're not too complex and contain tests.
from jquery-ui.
It's not clear to me what the JS Bin is supposed to show. Can you use the stock version of jQuery UI without repeating its source in the JS pane and explain exactly what you expect to happen in this test case and what is happening instead?
The way browser and JS bin work, make it impossible to reproduce it (at least for me). I cannot call JS bin like https://user:[email protected].
The problem is quite easy:
anchor.href behaves differently than location.href - it just does not contain the user:password part.
from jquery-ui.
OK, my last comment about issues shared with 1.12 still stands, though.
from jquery-ui.
Related Issues (20)
- function _calculateNewMax HOT 5
- jQuery UI sortable with body zoom not working, Not calculating drag and drop area correctly. HOT 3
- IE filter property has incorrect value for the widget-overlay v1.13 HOT 3
- Datepicker showButtonPanel - `Today` button is not clickable HOT 2
- JQueryUI tabs behaves weirdly if base in HTML head HOT 3
- jQuery 1.14 (jQuery UI 1.13 Upgrade Guide) HOT 1
- jquery-patch.js: Misleading label and description ("Support version 1.8.x and newer of jQuery core") HOT 7
- Precede the accordion widget with Expand All and Collapse All buttons by default HOT 1
- Set the Accordion Widget to respect prefers-reduced-motion by default HOT 1
- Version of jquery in dependencies is malformed? HOT 2
- Miss datepicker styles after Localization HOT 2
- Selecting an option from an autocomplete drop list no longer works on Chrome for Android - 1.13 HOT 3
- Selecting next/previous month is confusing when selectOtherMonths is active HOT 4
- Datepicker not working after scrolling HOT 1
- There are some inconsistencies with the current (and old) ThemeRoller HOT 1
- the select is not working in mobile HOT 2
- Publishing older versions to NPM request HOT 1
- Cannot read properties of undefined (reading 'version') HOT 4
- User is not able to access the “Increment/decrement” hours and minutes button using “TAB” and “ARROWS” in the “Select time” dialogue. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-ui.