Ticket #683 (closed defect: wontfix)

Opened 5 years ago

Last modified 3 years ago

ImportTiddlers defect on Firefox 3

Reported by: FND Owned by: MartinBudden
Priority: critical Milestone: 2.6.1
Component: core Version:
Severity: high Keywords: browsers
Cc:

Description

As discussed  here, Firefox 3 seems to return unexpected values when browsing for a file to import.

while the value displayed in the field after browsing is the complete path+filename, the .value attribute of the field that is accessible to the javascript code only reports the filename portion of that path+filename

Change History

Changed 5 years ago by EricShulman

See  http://www.TiddlyTools.com/#CoreTweaks for a possible 'fixup' for FireFox?...

  • The FF3 "type=file" "browse" control no longer provides access to the full path/filename of the selected file. This was done deliberately by the mozilla team, as part of a 'security improvement'.
  • Unfortunately, TW still needs a way to ask for a *complete* path/file in order to properly request a local file for import, sync, etc.
  • To provide TW with the information it needs when using FF3 (or any version of FireFox? for that matter), we can replace the use of the standard "browse" with a combination of text input+button controls that, when pressed, uses browser-secured filesystem I/O.
  • The actual code tweak involves replacing the HTML that defines the standard file control used by backstage>import, so that, when FireFox? is used, an alternative fragment of HTML is used to render a secured text+button combination instead, which then re-enables access to the complete path+filename

Note: There is also the possibility of providing a similar solution for IE, so that it can be more secure as well.

Changed 5 years ago by FND

  • keywords browsers added

Changed 5 years ago by MartinBudden

  • milestone changed from 2.4.1 to 2.5

Changed 4 years ago by MartinBudden

  • owner changed from JeremyRuston to EricShulman

Changed 4 years ago by MartinBudden

  • milestone changed from 2.5.1 to 2.5.2

Changed 4 years ago by FND

  • milestone changed from 2.5.3 to 2.5.4

Changed 4 years ago by MartinBudden

  • owner changed from EricShulman to MartinBudden

Changed 4 years ago by MartinBudden

  • status changed from new to assigned

Changed 3 years ago by FND

  • milestone changed from 2.6 to 2.6.1

Changed 3 years ago by MartinBudden

  • status changed from assigned to closed
  • resolution set to wontfix

No longer a problem, this is fixed as a result of the fix in ticket #1169.

Note: See TracTickets for help on using tickets.