Comments (6)
I'm seeing a similar behavior that I can't trace yet. See these tabs for example:
lr--r--r-- 1 root root 12 Jan 1 1970 WALKING_FAR_FROM_HOME_CHORDS__ver_2__by_Iron___Wine___Ultimate-Guitar.Com_75 -> ../by-id/757
lr--r--r-- 1 root root 12 Jan 1 1970 Walking___Psyche_Films_55 -> ../by-id/557
lr--r--r-- 1 root root 12 Jan 1 1970 WeChat_Is_Watching_-_Issue_73__Play_-_Nautilus_27 -> ../by-id/274
lr--r--r-- 1 root root 12 Jan 1 1970 What_Happened_When_I_Bought_A_Home_With_Sunrun_Solar_Panels_33 -> ../by-id/334
lr--r--r-- 1 root root 13 Jan 1 1970 XXXXXXXXXX_122 -> ../by-id/122
lr--r--r-- 1 root root 12 Jan 1 1970 What_I_ve_Learned_from_Hacker_News_22 -> ../by-id/224
lr--r--r-- 1 root root 13 Jan 1 1970 What_tools_are_best_for_animating_SVG_s____Designer_News_132 -> ../by-id/132
lr--r--r-- 1 root root 13 Jan 1 1970 xxxxxxxxxxxxx_101 -> ../by-id/101
lr--r--r-- 1 root root 13 Jan 1 1970 Workers___Account___Cloudflare_-_Web_Performance___Security_153 -> ../by-id/153
lr--r--r-- 1 root root 12 Jan 1 1970 Would_You_Recognize_a_Dystopia_If_You_Saw_One____The_Russell_Kirk_Center_34 -> ../by-id/344
lr--r--r-- 1 root root 12 Jan 1 1970 You_Don_t_Need_to_Quit_Your_Job_to_Make_32 -> ../by-id/324
lr--r--r-- 1 root root 11 Jan 1 1970 Calendar_-_January_2021_4 -> ../by-id/424
lr--r--r-- 1 root root 13 Jan 1 1970 XXXXXXXXXXXXXXXX_151 -> ../by-id/151
lr--r--r-- 1 root root 11 Jan 1 1970 Accounts_2 -> ../by-id/224
I masked some tab names.
Note how the last tab goes to by-id/224
even though the tab id is 2
. Two tabs before it, it's tab 4
but goes to 424
. It looks like tab in between, 151, is already 3 characters so it doesn't get the additional 24
. The additional characters seem to change for me every now and then, as you can see the first two tabs on the list, 75 and 55, go to 757
and 557
(both don't exist).
I took a look through inspect on the extension, and it seems like the response being sent from the browser contains the correct path without the additional characters, like so:
{
"buf": "Li4vYnktaWQvMw==",
"op": "readlink"
}
I'm using Firefox Developer Edition on Arch.
from tabfs.
I think that what you're describing is just a sanitize function that removes special character. That seems to be by design.
from tabfs.
Possibly related issue #18
from tabfs.
is it an encoding problem? in my situation, a tab with title "微软 Bing 搜索 - 国际版" becomes "(underscore3)Bing(underscore4)-(underscore*5)"
direct copy-paste dosen't work here, because github comment filters out continuous underscores
from tabfs.
Yeah, it sounds like this is just a C-side problem. I'm still looking at the pull requests that have come in.
(I think it would be a good idea to change the design of sanitize
to be more tolerant and let characters in other languages through; what we have right now was just the first thing I thought to write. It only really needs to filter stuff like whitespace that is annoying on the shell, if it needs to exist at all. This might also require making sure all the encoding stuff for readlink
(ex) is correct for all of UTF-8, which I haven't checked.)
from tabfs.
@curiosor you may also be interested in #59 where folks have implemented some more tolerant sanitizers
from tabfs.
Related Issues (20)
- RSS content ?
- Support for Firefox Multi-Account Containers
- Setup with flathub/org.chromium.Chromium on Linux
- Move tabs between windows? HOT 2
- touch evals/script.js to evaluate it again
- Set of words in text.txt files for autocomplete
- "Level 2 not synchronized" HOT 6
- Running on multiple profiles
- How to get text/body content when in Reader mode? (firefox)
- [Feature Request] Headers
- Document how to use TABFS_MOUNT_DIR HOT 1
- not able to access debugger folder HOT 2
- Which tabs are playing music? HOT 1
- Idea: Use in-browser WebAssembly to emulate a unix system to use TabFS HOT 2
- Upgrading to Manifest v3
- Non-existent tabs under 'by-id' HOT 1
- Manifest file is missing or unreadable
- maybe the symbolic link implementation for fusefs is not correct?
- Can't see or delete some watches files
- Could TabFS eventually become a 'provider' in Powershell?
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 tabfs.