Bug Tracker

Modify

Ticket #9632 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Fixed: jQuery.ajax() method doesn't support res protocol

Reported by: web@… Owned by:
Priority: low Milestone: 1.next
Component: ajax Version: 1.6.1
Keywords: needsreview Cc:
Blocking: Blocked by:

Description

Fixed: jQuery.ajax() method doesn't support res protocol(res://)

find:

rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|widget):$/,

replace with:

rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,

Change History

comment:1 Changed 2 years ago by timmywil

  • Keywords needsreview added
  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to ajax

Thanks for taking the time to contribute to the jQuery project! I don't have experience with the res protocol, but this might be something we can look into since we do support the file protocol.

comment:2 Changed 2 years ago by jaubourg

  • Status changed from open to closed
  • Resolution set to fixed

Fixes #9632. Adds res:// protocol to the list of local protocols.

Changeset: e6f8951983b8ce1af8986651fd412f9e569504c6

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.