Comments (14)
-(?i)^ss://((?<method>.+?)(?<auth>-auth)??:(?<password>.*)@(?<hostname>.+?):(?<port>\d+?))(#(?<tag>.+?))*$
+(?i)^ss://((?<method>.+?)(?<auth>-auth)?:(?<password>.*)@(?<hostname>.+):(?<port>\d+))(#(?<tag>.+))?$
Also, should #tag
be included in base64_encoded_group
? How about this:
(?i)^ss://(?<base64_encoded_group_1>.+)(#(?<tag>.*))?$
from shadowsocks-org.
I prefer to not appending tag after base64_encoded_group
, as it would cause duplicates.
from shadowsocks-org.
I meant including the tag only after #.
from shadowsocks-org.
Hmm, I'm not sure. It there any good reason to do that?
from shadowsocks-org.
from shadowsocks-org.
Sounds good. Let's take the second proposal.
from shadowsocks-org.
Why don't encode tag in qr code?
from shadowsocks-org.
I'm convinced by this #25 (comment)
from shadowsocks-org.
I mean the qr code could contain the tag either, so that someone shares a ss url with tag via qr code and I don't need to name that server again.
from shadowsocks-org.
QR code also has the tag. It only depends on what's the URL encoded in the QR code.
from shadowsocks-org.
Hm, alright because the example qr code on https://shadowsocks.org/en/config/quick-guide.html doesn't contain a tag but the url right above does.
The reason I asked these question is I'm not sure if it's ok to encode remarks as tag in the qr generator which could cause some compatibility issues.
from shadowsocks-org.
It will be better if you clarify utf-8 encoding is needed.
ref: shadowsocks/shadowsocks-android@357130c
from shadowsocks-org.
from shadowsocks-org.
Just a suggestion, all up to you guys.
from shadowsocks-org.
Related Issues (20)
- SIP022: Shadowsocks 2022 Edition HOT 33
- 弱弱的问一句,啥是SIP? HOT 4
- after changing to portable mod, even when I disable the proxy there is no change
- Feature request: Chain Shadowsocks HOT 1
- [Security] Do not engineer vulnerabilities into implementations without public discussions HOT 7
- [One Idea] IP Geolocation Based Filtering HOT 20
- Ahmadtafreshi HOT 1
- Ahmad
- [Peer Review Request]Restls: A Perfect Impersonation of TLS Handshake HOT 5
- 能支持udp over tcp吗 HOT 1
- 日志文件 HOT 1
- OpenWrt client is not working for me
- 能否申请将Java的实现版本也纳入到官方社区中 HOT 1
- Correct wiki entry for "Setup fail2ban" - a jail config error detected HOT 2
- 社区有没有针对SIP023 relay server 的开发计划 HOT 2
- Cannot make the fail2ban setup guide work with systemd journal
- Non-UI Error. Can't start application
- ss://[email protected]:8388#SIP008%0A%0A HOT 1
- 兼容改版shadowsocks
- feature request: sip003 mux / multiplexing spec HOT 1
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 shadowsocks-org.